468,512 Members | 1,422 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

Transport end point is not connected

72
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
Feb 20 '08 #1
2 4954
sicarie
4,677 Expert Mod 4TB
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?
Feb 20 '08 #2
manjuks
72
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
Feb 21 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by google | last post: by
3 posts views Thread by Sanjeev Purohit | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.