LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-11-2012, 01:13 AM   #1
vishal-isro
LQ Newbie
 
Registered: Nov 2002
Location: India
Posts: 4

Rep: Reputation: 0
Smile Broken Pipe problem in TCP/IP communication


Dear All,
I have wrote simple TCP/IP client/server prog. Server is receiving data. After receiving some packets, it comes out by giving error "broken pipe". I was looking in detail by using ethreal utility and found that every thing was normal. Suddenly server sent "Finish" request ie. it set "Fin" flag while sending Acknowledgement of data received. After that it also received 5-6 data pkts at lower layer but it didn't passed them to upper layer. & remained sending Reset request to the client.

I am not able to understand why it suddenly sent Finish request to client suddenly, without any error in data or connection. Pls. guide me what is the reason & what will be the solution of it.
 
Old 09-11-2012, 01:47 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,913

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
duplicate of http://www.linuxquestions.org/questi...am-4175426647/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to handle a broken pipe exception (SIGPIPE) in FIFO pipe? zyroot998 Programming 5 03-03-2011 08:10 PM
Communication TCP / UDP Ports Problem vivanguarda Slackware 2 11-24-2010 05:56 AM
kernel_sendmsg function send tcp package would return broken pipe error asert Linux - Kernel 1 06-01-2008 04:07 PM
Another Problem with dvd::rip broken pipe? Snump Linux - Software 3 01-28-2007 11:22 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration