Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 06-17-2008, 12:47 PM   #1
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, 03:55 AM   #2
Senior Member
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

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.


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 08:31 PM
Wireless card--No received packets. david1123 Linux - Wireless Networking 3 01-19-2006 11:17 PM
which are these source ip packets i received? linux_lover2005 Linux - Networking 1 04-29-2005 08:58 PM
Channel Bonding: DUP packets received from ping ricky_ds Linux - Networking 2 04-29-2005 12:39 PM
packets sent VS packets received fsasya Linux - Networking 0 07-18-2004 08:11 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration