Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [UDP] Don't crash on second packet. | Linus Nordberg | 2011-03-10 | 1 | -1/+2 |
| | | | | | | [UDP] Set the user_data member for the write callback in rs_packet_send() -- the one from udp_init() doesn't do much good at this point. | ||||
* | Get UDP working. | Linus Nordberg | 2011-03-09 | 1 | -30/+84 |
| | | | | | | | | | | | | | | | | 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(). | ||||
* | Add retransmission timer support (UDP). | Linus Nordberg | 2011-03-09 | 1 | -0/+15 |
| | |||||
* | Don't make UDP write event persistant. | Linus Nordberg | 2011-03-09 | 1 | -22/+46 |
| | | | | | rs_packet_send() adds the event again when there's a packet to send and the write callback does the same if it doesn't drain the queue. | ||||
* | Restructure code, moving most code out of packet.c | Linus Nordberg | 2011-03-06 | 1 | -0/+85 |
Also, move copyright notice out of COPYING and into every file. |