LinuxQuestions.org
Visit Jeremy's Blog.
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 04-24-2009, 09:22 AM   #1
digvijay.gahlot
Member
 
Registered: Mar 2008
Posts: 53

Rep: Reputation: 15
sendto hangs


I have a blocking sento call issued by my application. The packets are UDP.

1. What will happen when the n/w driver's queue gets filled?
2. If linux silently starts discarding packets will my sendto hang forever?
3. What does sendto ensures I mean at what point does it returns. Does its reponsibility includes making sure that the packet is inserted in the queue of driver and keep on retrying till then or it just sends the packet to driver and returns not caring whether the driver drops the packets in case its queue is filled?

Thanks in advance
 
  


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
ping: sendto: Operation not permitted KiboMaster Linux - Networking 4 02-08-2008 07:05 PM
sendto: invalid argument Yury Programming 12 11-04-2006 07:06 AM
sendto error (socket) payal_shah Linux - Networking 0 02-23-2005 01:18 PM
int to string+sendto pantera Programming 3 08-19-2004 08:19 PM
help: sockets & sendto Lugh Programming 4 09-13-2003 05:13 PM

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

All times are GMT -5. The time now is 01:58 AM.

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