LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   blocking of recvfrom() even if data has been sent (https://www.linuxquestions.org/questions/linux-networking-3/blocking-of-recvfrom-even-if-data-has-been-sent-448632/)

codenaive 05-25-2006 10:32 PM

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.


All times are GMT -5. The time now is 09:45 AM.