473,383 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Transport end point is not connected


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.

Feb 20 '08 #1
2 5171
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
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?

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.

Feb 21 '08 #3

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

Similar topics

by: Galore | last post by:
Hello, I'm trying to make a simple socket application, something like a chat application, but when I run it, it shows the following error when the client connects to the server: "Unable to read...
by: Janna Deegan | last post by:
Hello all, First off, if there is a better place to post for an answer to this question, please feel free to point me there. I have some very strange behavior happening with my System.web.mail...
by: Navin Mishra | last post by:
Hi, Can ASP.NET web service account be modified to use TCP transport ? Or is there any example of a .NET web service offering TCP transport ? Thanks in advance and regards Navin
by: google | last post by:
I have created a simple HelloWorld application in WSE2.0 SP3. When I browse to the endpoint url over http (e.g. http://localhost/TestService.ashx) the WSDL is fine and I can create a client...
by: Sanjeev Purohit | last post by:
I am working on a VB .net application which accesses a Java Servlet. This servlet returns a binary stream that is written onto a PDF and then this file is printed. Even though this file is...
by: palmem | last post by:
I am trying to write a simple FTP server in order to learn about sockets This is my first time trying sockets This code should take a connection on port 8110, dump it to a client "thread" (not...
by: Paul H | last post by:
I have the following code running against the compact framework: using System; using System.Data; using System.Net; using System.IO; using System.Text; namespace WebSample {
by: Jay Balapa | last post by:
Hello, We have a Pocket PC client application which just connects to our webservice. When a client connects his Pocket PC through his WIFI he gets the following- Unable to read data from the...
by: Cintury | last post by:
Hi all, I've developed a mobile application for windows mobile 5.0 that has been in use for a while (1 year and a couple of months). It was developed in visual studios 2005 with a back-end sql...
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.