Re: TCP server stop receiving new connections
- From: Julián Rodríguez Bajo <julian.rodriguez@xxxxxxxxxx>
- Date: Fri, 13 Jul 2007 10:50:15 +0200
Alexander Nickolov escribió:
What do you do in your OnAccept handler? In particular,
do you try to accept multiple sockets? A test to try is to
reset the event mask of your listening socket each time you
exit its OnAccept handler.
Also, as a reality check - make sure your message loop
never gets stuck... E.g. when you break into the debugger,
almost always you should end up in the message loop.
I forget to say. Adding AsyncSelect at the end of OnAccept handlers does not change behaviour.
.
- References:
- TCP server stop receiving new connections
- From: Julián Rodríguez Bajo
- Re: TCP server stop receiving new connections
- From: Ali
- Re: TCP server stop receiving new connections
- From: Julián Rodríguez Bajo
- Re: TCP server stop receiving new connections
- From: Ali
- Re: TCP server stop receiving new connections
- From: Julián Rodríguez Bajo
- Re: TCP server stop receiving new connections
- From: Julián Rodríguez Bajo
- Re: TCP server stop receiving new connections
- From: Alexander Nickolov
- TCP server stop receiving new connections
- Prev by Date: Re: TCP server stop receiving new connections
- Next by Date: Re: TCP server stop receiving new connections
- Previous by thread: Re: TCP server stop receiving new connections
- Next by thread: Problem with matching kind of NDIS driver.
- Index(es):
Loading