LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 08: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



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

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

All times are GMT -5. The time now is 06:47 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