This is a discussion on Help forUDP/IP Stack Extensions within the Linux Networking forums, part of the Linux Forums category; Hi all, I am facing a problem,please help me to solve it in better way!! Problem is:- In my ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 On 5 Jan 2006 21:01:20 -0800, munish.nr@gmail.com <munish.nr@gmail.com> 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----- |