| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Also, terminate another debug message with \n.
|
|
|
|
|
| |
Also, invoke disconnected callback and close connection in error
cases.
|
| |
|
|
|
|
| |
And distribute LICENSE and HACKING.
|
| |
|
|
|
|
| |
(udp_init): Set conn.rev = NULL in fault case.
|
|
|
|
|
|
| |
[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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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().
|
| |
|
|
|
|
|
| |
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.
|
|
Also, move copyright notice out of COPYING and into every file.
|