T
Tran Hong Quang
Hi,
I follows the instructions from Microsoft to create a sample using Winsock,
here is the link:
http://msdn.microsoft.com/library/d...-us/vbcon98/html/vbconusingwinsockcontrol.asp
I created 2 forms, put Microsoft Winsock ActiveX on each form, copy and past
the sample code. One form is working as Server, the second form is working as
Client. What I typed on Client will appear on Server. But if I close either
Server or Client form, the remain will be halted. I think killing one end of
TCP session will make the other end to be hang. How to solve this problem?
and how to set time-out period so that the remain form will automatically
release TCP session if the other end was closed?
Thanks
Quang
I follows the instructions from Microsoft to create a sample using Winsock,
here is the link:
http://msdn.microsoft.com/library/d...-us/vbcon98/html/vbconusingwinsockcontrol.asp
I created 2 forms, put Microsoft Winsock ActiveX on each form, copy and past
the sample code. One form is working as Server, the second form is working as
Client. What I typed on Client will appear on Server. But if I close either
Server or Client form, the remain will be halted. I think killing one end of
TCP session will make the other end to be hang. How to solve this problem?
and how to set time-out period so that the remain form will automatically
release TCP session if the other end was closed?
Thanks
Quang