Transport end point is not connected

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manjuks
    New Member
    • Dec 2007
    • 72

    Transport end point is not connected

    Hi,

    Am getting error Transport end point is not connected when my client program is trying send a message to the server. Can any one please help me to resolve this issue? Am working in Linux machine.

    Thanks
    Manjunath
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Sure, can we get a little more information? Are you using specific libraries? Did you debug this at all to see generally where the error is coming from?

    Comment

    • manjuks
      New Member
      • Dec 2007
      • 72

      #3
      Originally posted by sicarie
      Sure, can we get a little more information? Are you using specific libraries? Did you debug this at all to see generally where the error is coming from?
      Hi,

      First In server program i created the socket and bind that to some address, then I called listen system call then accept call to accept the client requests. Till this it works fine, even client gets connected to the server.

      After connection establishment from client, I am sending one messaged, and in server I have to receive that message. In server I have used recv system call to receive the message from client. During the execution of this system call am getting the error message. I don't know why its saying Transport end point is not connected.

      If i use read system call instead of recv it will work. Its giving error only if i use recv system call. Please Tell me what is the reason behind it.

      Hope this information is sufficient for you to understand whats my problem is.

      Thanks,
      Manjunath

      Comment

      Working...