How to migrate existing udp application to raw sockets

Posted by osgx on Stack Overflow See other posts from Stack Overflow or by osgx
Published on 2010-05-31T17:21:06Z Indexed on 2010/05/31 17:23 UTC
Read the original article Hit count: 271

Hello

Is there a tutorial for migration from plain udp sockets (linux, C99/C++, recv syscall is used) to the raw sockets?

According to http://aschauf.landshut.org/fh/linux/udp_vs_raw/ch03s04.html raw socket is much faster than udp.

Application is client-server. client is proprietary and must use exactly same procotol as it was with udp server. But server can be a bit faster with raw sockets. What parts of udp I must to implement in server? Is there a "quick migration" libraries?

© Stack Overflow or respective owner

Related posts about network-programming

Related posts about udp