summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-13 11:30:47 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-13 11:45:51 +0100
commit4253eaffd2d17a8ae1026e3068985fb8d39feab0 (patch)
treeebea41b497b67ddad1b3c1a8a0aa494693bfe9fc /Makefile
parent07196ab8ea16d4fd39f54f11088a854543cf27ac (diff)
downloadecon-4253eaffd2d17a8ae1026e3068985fb8d39feab0.tar.gz
econ-4253eaffd2d17a8ae1026e3068985fb8d39feab0.tar.bz2
econ-4253eaffd2d17a8ae1026e3068985fb8d39feab0.zip
econpacket: Have to use different read strategies for udp and tcp
UDP needs to read the complete packet in one read, so the read size >= packet_size. TCP reads more that one packet if size > packet_size, which we dont want. So do parital reads for tcp, and real it all at once for udp sockets.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions