summaryrefslogtreecommitdiff
path: root/lib/compat.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename COPYING -> LICENSE.Linus Nordberg2012-12-191-1/+1
| | | | And distribute LICENSE and HACKING.
* Get UDP working.Linus Nordberg2011-03-091-0/+1
| | | | | | | | | | | | | | | | For UDP, activate retransmit timer before receiving rather than sending makes the event loop break nicely after sending a message (which is important for blocking mode). Not quite sure that this is really accurate wrt to retransmission timing though but it should do for now. For UDP, set the user_data member for the read callback in rs_conn_receive_packet -- the one from udp_init() doesn't do much good now. For UDP, implement receiving message. Add compat_recv().
* Restructure code, moving most code out of packet.cLinus Nordberg2011-03-061-0/+3
| | | | Also, move copyright notice out of COPYING and into every file.
* _init_evb: Don't crash on socket errors.Linus Nordberg2011-03-031-0/+1