disconect socket using tcpClient

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jordi

    #1

    disconect socket using tcpClient

    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.EndConn ect(Stm)>>> Error !!

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

    Any idea?

    Thanks in advanced,



  • Terry Olsen

    #2
    Re: disconect socket using tcpClient

    What is the text of the error message you are getting?

    "Jordi" <jordi_sfk@hotm ail.comwrote in message
    news:%236I1Cyel HHA.3928@TK2MSF TNGP02.phx.gbl. ..
    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.EndConn ect(Stm)>>> Error !!
    >
    Also try :
    tcpClnt.Client. Disconnect(True )
    tcpClnt.Client. Close()
    tcpClnt.Close()
    >
    Any idea?
    >
    Thanks in advanced,
    >
    >
    >

    Comment

    Working...