disconect socket using tcpClient

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top