Resident Network Geniuses!
I've changed how an data collection server of mine deals with a
customers client. This change requires that I don't hang around after
listen if there are no connection requests to accept. My networking
books by Rago and Stevens hint at what I should do but as soon as they
bring the subject up then talk about the client only. None of my test
programs (server side) seem to know when there is a connection request
pending.
ie.
bind or bind or bind
select set non_blocking set non_blocking
accept accept select
return restore fcntl accept
return restore fcntl
return
Can anyone show or point me to an example that works?
Larry G.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]