summaryrefslogtreecommitdiff
path: root/econpacket.c
AgeCommit message (Collapse)AuthorFilesLines
2013-03-13econfind: Beamer IP has to be optained from recvmsg directlyBenjamin Franzke1-9/+15
The econ_header IPaddress field holds only our client ip. econpacket needs to store the addr in the packet.
2013-03-13econpacket: Have to use different read strategies for udp and tcpBenjamin Franzke1-4/+60
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.
2013-03-13econpackt: Log received packetsBenjamin Franzke1-0/+2
2013-03-13econpacket: Try to be able to read cmd21Benjamin Franzke1-27/+57
2013-03-12econpacket: Add copyrightBenjamin Franzke1-0/+17
2013-03-12Move econ packet handling into seperate c-fileBenjamin Franzke1-0/+109