LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-25-2006, 11:32 PM   #1
codenaive
LQ Newbie
 
Registered: May 2006
Posts: 3

Rep: Reputation: 0
blocking of recvfrom() even if data has been sent


hi,
i am trying to transfer a file using UDP. When I am sending the file byte by byte , it reaches the receiver. But when I am sending more than one bytes at a time in a packet, the receiver blocks after some time . It is not able to receive the whole file. What can be the reason ?
The sender is sending all the packets but receiver is getting blocked at recvfrom() somewhere in between.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
recvfrom in its own thread? estratos Programming 9 02-18-2006 04:26 AM
Why does a multithreaded program gets hanged at recvfrom()? kranti Linux - Newbie 1 10-17-2005 05:40 AM
Why does a multithreaded program gets hanged at recvfrom()? kranti Linux - General 1 10-17-2005 05:09 AM
Problem in recvfrom() live_dont_exist Programming 5 05-08-2005 05:25 PM
recvfrom() takes 20 ms to return? pingswept Programming 3 05-25-2004 04:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration