Original Post
Hi... I''m coding some chat server with VB and winsock control. Since I can''t control LINGER option with winsock control, I use winsock API with setsockopt!
I set "l_lonoff" to 1 and "l_linger" to 5... My setsockopt returns 0 (so it''s sucessfull), but linger don''t work!
If I use:
Winsock1.SendData "foo"
Winsock1.Close
I will close immediately, without sending "foo"...
Help me guys! What''s the problem?
Thanks
- TeraZen, Last of the Returners