Dimitry Timokhov wrote: > As final answer - my source code is the only way to setup the NODELAY > on server side for client socket. Am I right?
Setsockopt() has to be called with a valid socket handle, so event OnClientConnect is the first event/place where the client object has a valid socket handle assigned. You may call Setsockopt() later as well, however that's most likely not what you want. -- Arno Garrels > > 2008/6/20, Arno Garrels <[EMAIL PROTECTED]>: >> Dimitry Timokhov wrote: >> > Hi >> > >> >> That should be ok. >> > >> > I see - everythink is OK with my code (I'm having hard tests now). >> > >> > >> >> However it's not required to call setsockopt at all, >> >> you can set ComponentOptions of your derived client class in the >> >> constructor as well. >> > >> > Really? >> > As I see there is one place where ComponentOptions is used - it is >> > Connect method. But Connect is not call on the server side as I >> see. > Am I wrong? May be i missed something? >> >> >> Of course you are right, I did not check the source code before >> answering, arrg... >> >> >> -- >> Arno Garrels >> >> -- >> To unsubscribe or change your settings for TWSocket mailing list >> please goto >> http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our >> website at http://www.overbyte.be >> > > > -- > Best regards, > Dimitry Timokhov -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be