LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2011, 11:36 AM   #1
jkeertir
Member
 
Registered: Mar 2008
Posts: 70

Rep: Reputation: 15
status of UDP received buffers


Hi all,

I want to know the status of udp received buffer ,before receiving nest packet.Are there any API to know the status of received buffers.

With regards,
Keerti
 
Old 01-23-2011, 08:22 PM   #2
alpha01
Member
 
Registered: Jul 2008
Location: Orange County
Distribution: Ubuntu/Debian, CentOS, RHEL, FreeBSD, OS X
Posts: 75

Rep: Reputation: 19
Not sure if this answers your question..
Code:
[root@rubyninja ~]# netstat -s -u
IcmpMsg:
    InType0: 461429
    InType3: 157817
    InType8: 126957
    OutType0: 126957
    OutType3: 55670
    OutType8: 516155
Udp:
    276430 packets received
    108 packets to unknown port received.
    131 packet receive errors
    262957 packets sent
IpExt:
    InMcastPkts: 76025
    OutMcastPkts: 50
    InBcastPkts: 449590
    OutBcastPkts: 32
 
Old 01-23-2011, 08:42 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Depends exactly what info you want, and which language you are using.
In any case here's a really good guide: http://beej.us/guide/bgnet/
I also recommend you use the Report button to ask the mods to move this qn to the Programming section for detailed advice.
 
  


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
Postfix status = sent but not received to Maildir pra838 Linux - Newbie 5 08-07-2012 07:53 AM
received UDP packet length sasubillis Linux - Software 1 02-12-2010 08:57 AM
kernel: usbhid: input irq status -75 received Spoof Linux - Hardware 2 12-10-2008 07:39 AM
how to get source physical address of received udp datagrams? lyeoh Linux - Networking 0 05-31-2006 06:35 AM
UDP Buffers awksquawk Linux - Networking 1 11-18-2005 05:41 AM


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