Sign in to follow this  
quackie

Problems with FD_CLOSE

Recommended Posts

Hi I went through some threads here about FD_CLOSE, but i didn't find any solution to my problem. I have a small server program which using WSAAsyncselect() to get the networkevents. When a buddy (over internet) uses a special made app that connects 100 sockets to my server they are all accepted. but when he closes that app i don't get the 100 FD_CLOSE msg's on a straight row....i get approx 20 first, then after 10seconds i get a couple more..etc etc. why can't i get them all in a row, without any delay? :-)

Share this post


Link to post
Share on other sites
you mean on the client side? well there i just close the socket...perhaps i should test with shutdown().

When i'm using this app local on my computer, i get all FD_CLOSE in a perfect row...no delays :S could it be something with the connection? :S

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this