LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-17-2008, 11:47 AM   #1
scottbiker
LQ Newbie
 
Registered: Apr 2008
Posts: 5

Rep: Reputation: 0
QOS for packets received on a server socket


Can anybody tell me if it is possible to receive high priority packets before low priority packets on a server socket?
Imagine that the CPU is overloaded, can I then configure the system to put high priority packets first on my RX socket queue?

I'm talking about a raw Ethernet socket on which I receive packets from the network.
I would like to configure myself what high priority and low priority exactly means (e.g. by UDP destination port or so...).

Thanks ;-)
 
Old 06-19-2008, 02:55 AM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,684

Rep: Reputation: 54
Before performing different actions you need to sort.
To sort packets for any criteria - they need to have arrived and looked into - only then can you determine what they are to you. You take them as they come since before having looked you don't know what they are - no way around that I'm pretty sure.
 
  


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
Strange Errors in Received Packets on an Ethernet connection sina_kish Linux - Networking 5 10-04-2007 07:31 PM
Wireless card--No received packets. david1123 Linux - Wireless Networking 3 01-19-2006 10:17 PM
which are these 0.0.0.0 source ip packets i received? linux_lover2005 Linux - Networking 1 04-29-2005 07:58 PM
Channel Bonding: DUP packets received from ping ricky_ds Linux - Networking 2 04-29-2005 11:39 AM
packets sent VS packets received fsasya Linux - Networking 0 07-18-2004 07:11 PM


All times are GMT -5. The time now is 08:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration