How can I create a TcpSocket and TcpStream in the same MIO event loop?

559 Views Asked by At

Can I create the same server as Server or Client with different sockets?

Like A -> B -> C

Here, A is a client of server B, B is a server to A but a client of server C.

How can I register both of these in the same MIO event_loop?

0

There are 0 best solutions below