Major udp sender/receiver improvements.
authorAndre Noll <maan@systemlinux.org>
Sun, 11 Jan 2009 22:18:04 +0000 (23:18 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 11 Jan 2009 22:18:04 +0000 (23:18 +0100)
commit01556501c32d5ec155cc7e2cd78307ec1f177a07
treebaebe1ce8fcae01c4e42b8d8c888a1dc462deead
parent75fb7c62b1cf6ad29efb20f841b84dca59eaaad0
Major udp sender/receiver improvements.

- Reserve some bytes in the udp header for future extensions.
- Simplify udp audio header reading/writing.
- Handle short reads in udp_recv.
- Extended sanity checks for the udp audio header.
- Fix a memory leak in the error path of udp_recv_open().
error.h
udp_header.h
udp_recv.c
udp_send.c