summaryrefslogtreecommitdiff
path: root/lib/compat.c
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace changes in license headers.Linus Nordberg2013-05-091-1/+1
|
* Rename COPYING -> LICENSE.Linus Nordberg2012-12-191-1/+1
| | | | And distribute LICENSE and HACKING.
* Get UDP working.Linus Nordberg2011-03-091-0/+6
| | | | | | | | | | | | | | | | 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/+7
| | | | Also, move copyright notice out of COPYING and into every file.
* UDP w/o bufferevents, part 1.Linus Nordberg2011-03-061-1/+2
| | | | Sending, no retransmitting and no receiving.
* _init_evb: Don't crash on socket errors.Linus Nordberg2011-03-031-0/+8