R
Risa
hi, i created a windows application that uses winsock control.
in the closing event, it sends a "Disconnect" string message.
the server (listening application) does not receive this message.
also in the closing event, a Messagebox is shown when not all values
have been saved.
when this is shown, the "Disconnect" message is received by the
listening application.
in most times, the messagebox is not shown.
my question is, how can the message be sent?
i tried thread.sleep and lock but it does not work.
btw, i am using .net 1.1 / Visual studio 2003
in the closing event, it sends a "Disconnect" string message.
the server (listening application) does not receive this message.
also in the closing event, a Messagebox is shown when not all values
have been saved.
when this is shown, the "Disconnect" message is received by the
listening application.
in most times, the messagebox is not shown.
my question is, how can the message be sent?
i tried thread.sleep and lock but it does not work.
btw, i am using .net 1.1 / Visual studio 2003