View Single Post
  #12 (permalink)  
Old March 12th, 2002
maksik maksik is offline
Mutella Developer
 
Join Date: January 30th, 2002
Location: Germany
Posts: 87
maksik is flying high
Default

Quote:
PS: Max, I'm outa active Gnutella development ... I described my problems with this community in another thread. But I wanted to give some feedback here, I still work on network classes.
this i've understood. so i did not 'force' to answer you personaly, but its' still nice that you did.

with regard to closing sockets i wasn't talking about CAsyncSoclet, but about sockets in general. Looks like there is no elegant way to do it at all -- neither poll(), nor select() provide support for safe-async-close, so the only solution I see is to call ioctl() in 'OnTimer()' or in 'Heartbeat()' to see if send buffer of the socket we'd like to close has cleared up...

regards,
still hope to see you around

--Max
Reply With Quote