Boost logo

Boost Users :

Subject: [Boost-users] [Asio] How to implement my own TCP?
From: Chengu Wang (wangchengu_at_[hidden])
Date: 2013-02-16 01:21:21


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net