David Fifield
8aace665d5
Bundle multiple packets downstream.
2020-04-18 14:33:36 -06:00
David Fifield
410dafa29c
Packetization server→client direction.
2020-04-18 14:29:30 -06:00
David Fifield
0a8e5f5b72
Packet framing downstream.
2020-04-18 14:29:30 -06:00
David Fifield
ffcea8b633
Logging in client.
2020-04-18 14:29:30 -06:00
David Fifield
37b64f1825
On second thought, don't close send queues when expiring.
...
Could panic if a sender is holding on to the channel.
2020-04-18 14:29:30 -06:00
David Fifield
0ebbe21789
Don't explicitly send 0-length packets.
2020-04-18 14:29:30 -06:00
David Fifield
2050034fb1
Factor out separate sending and receiving threads.
2020-04-18 14:29:30 -06:00
David Fifield
5bb844b00a
Logging in server.
2020-04-18 14:29:30 -06:00
David Fifield
933f17de78
Packetization and padding in the client→server direction.
2020-04-18 14:29:29 -06:00
David Fifield
0e72afd1e7
Downstream MTU.
2020-04-18 14:29:14 -06:00
David Fifield
22f5633521
Do name compression in writing.
2020-04-18 14:29:14 -06:00
David Fifield
bf609a4cf8
Set MTU based on domain length.
2020-04-18 14:29:13 -06:00
David Fifield
f47fa9781b
Increasing poll interval.
2020-04-18 14:28:55 -06:00
David Fifield
1a630ef92f
Automatic polling.
2020-04-18 14:28:55 -06:00
David Fifield
3b48d1aee1
Send full 8-byte ClientID
...
Sending just 4 bytes and relying on the convid for the remaining bytes
doesn't work for empty polling requests. Could probably just eliminate
the convid and make it a static constant before feeding to KCP.
2020-04-18 14:28:55 -06:00
David Fifield
9f72a8a87d
client
2020-04-18 14:28:53 -06:00
David Fifield
cfbbc9aaee
Better command-line usage message.
2020-04-18 14:23:11 -06:00
David Fifield
6633ee8b8d
Exchange payloads.
2020-04-18 14:23:11 -06:00
David Fifield
cd3fc649a6
Maybe we should close SendQueue when expiring clients.
2020-04-18 14:23:11 -06:00
David Fifield
32bf8ef5db
Generating a response.
2020-04-18 13:18:08 -06:00
David Fifield
23b395bac1
WireFormat
2020-04-18 13:18:08 -06:00
David Fifield
57dbb4a4a8
MessageFromWireFormat
2020-04-18 13:18:08 -06:00
David Fifield
cdeecf2ec6
Starting on server.
2020-04-18 13:18:04 -06:00