disconect socket using tcpClient

  • Thread starter Thread starter Jordi
  • Start date Start date
J

Jordi

Hi,

I have my socket class using tcpClient framework 2.0... The socket is
running perfectly but I've a problem for close the socket connection with
the server!

I try with this:
Stm is the stream connection
tcpClnt.EndConnect(Stm)>>>> Error !!

Also try :
tcpClnt.Client.Disconnect(True)
tcpClnt.Client.Close()
tcpClnt.Close()

Any idea?

Thanks in advanced,
 
Back
Top