Davide Beatrici
7d58e6bf60
Add interface for easy protocol implementation
...
This commit adds a protocol interface to the server, its purpose is to manage TCP connections and the various third-party protocols.
More specifically, ProtoHandleConnection() takes care of exchanging the packets between the local and remote endpoint; the protocol implementation only has to parse them and act accordingly.
The interface knows which protocol is the connection for by calling IsPacketForMe(), a function implemented for each protocol.
2019-07-26 08:36:54 +02:00
..
2018-10-24 21:25:57 +02:00
2018-10-09 19:29:11 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-02-03 18:05:34 +05:00
2014-01-04 22:00:08 +09:00
2019-07-22 11:35:19 -07:00
2019-07-22 11:28:12 -07:00
2019-05-28 12:51:51 +09:00
2019-01-21 09:36:19 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-05-28 12:51:51 +09:00
2019-05-28 12:51:51 +09:00
2019-02-27 21:41:20 +01:00
2019-07-10 17:01:01 -07:00
2018-10-09 20:30:03 +09:00
2019-07-26 08:36:54 +02:00
2019-05-28 12:51:51 +09:00
2019-05-28 12:51:51 +09:00
2019-06-30 01:20:52 +09:00
2019-06-30 01:20:52 +09:00
2019-07-26 08:36:54 +02:00
2019-07-26 08:36:54 +02:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-05-28 12:51:51 +09:00
2019-05-28 12:51:51 +09:00
2014-01-04 22:00:08 +09:00
2014-01-04 22:00:08 +09:00
2018-05-16 23:47:10 +02:00
2019-07-11 12:42:26 -07:00
2019-01-14 12:25:53 +09:00
2019-05-28 12:51:51 +09:00
2019-05-28 12:51:51 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00
2019-01-14 12:25:53 +09:00