Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Help forUDP/IP Stack Extensions

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2006, 05:01 AM
Default Help forUDP/IP Stack Extensions



Hi all,


I am facing a problem,please help me to solve it in better way!!
Problem is:-

In my application i have opened an UDP socket and i am receiving packet
stream.
when the bit rate of the stream is high, my application starts ;loosing
packets where as at low bit rate everything seems to be fine.

to solve it, I browse the TCP/IP stack in kernel space
so i did change the TCP/IP stack, now i am not making the packet to be
queue, else directly copying it to user space.
this change seems to solve all my problem.

but i am not feeling good with this solution.

Is there anyother method by which i can get the data directly instead
of putting it in queue.


Any help is highly appreciated!!!


rgrds,
Munish Nayyar



munish.nr@gmail.com
Reply With Quote
  #2  
Old 01-07-2006, 08:25 AM
Chris Willing
Guest
 
Posts: n/a
Default Re: Help forUDP/IP Stack Extensions

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5 Jan 2006 21:01:20 -0800, (E-Mail Removed) <(E-Mail Removed)> wrote:
> Hi all,
>
>
> I am facing a problem,please help me to solve it in better way!!
> Problem is:-
>
> In my application i have opened an UDP socket and i am receiving packet
> stream.
> when the bit rate of the stream is high, my application starts ;loosing
> packets where as at low bit rate everything seems to be fine.
>
> to solve it, I browse the TCP/IP stack in kernel space
> so i did change the TCP/IP stack, now i am not making the packet to be
> queue, else directly copying it to user space.
> this change seems to solve all my problem.
>
> but i am not feeling good with this solution.
>
> Is there anyother method by which i can get the data directly instead
> of putting it in queue.


You could try RTP protocol. It is often used in streaming media
applications i.e. high bit rate.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQFDv3rPEi1IpCjOY3ERAmhQAKDfMT/NWTnVwnWHrG/832kj2y4xcQCbBt/t
KT77VieUA7bRe1rtak75d6E=
=sSbD
-----END PGP SIGNATURE-----
Reply With Quote
Reply

Tags
extensions, forudp or ip, stack

Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump


All times are GMT. The time now is 02:45 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.