[Asio] How to implement my own TCP?

16 Feb
2013
16 Feb
'13
6:21 a.m.
Hi all, I'd like to implement the TCP over UDP, because I want to change TCP a little. The implementation includes the three-way handshake, retransmission, etc. My TCP must have the basic interfaces as the original TCP does, i.e. a my_tcp::acceptor class supporting bind, listen, accept, async_accept and close, and a my_tcp::socket supporting bind, connect, async_connect, send, async_send, receive, async_receive and close. Of course I can write these two classes from scratch, but can I do it in the framework of asio and reuse some codes of asio? What classes should I implement and what do the inherit from? Any help would be appreciated. -- Best, Chengu Wang
4390
Age (days ago)
4390
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chengu Wang