Goran
2012-09-04 11:42:45 UTC
Hi all,
I took a look into
http://www.boost.org/doc/libs/1_51_0/doc/html/boost_asio/example/echo/async_tcp_echo_server.cpp
which I understand so far.
Now I'm trying to edit the example above to somewhat of a "self
connecting server". The usage should be like this:
server <port> <remote ip> <remote port>
E.g.:
server 1111 192.168.0.1 1111
Are there any examples for such a scenario? Or any hints how to edit
the example above?
Thanks in advance!
Goran
I took a look into
http://www.boost.org/doc/libs/1_51_0/doc/html/boost_asio/example/echo/async_tcp_echo_server.cpp
which I understand so far.
Now I'm trying to edit the example above to somewhat of a "self
connecting server". The usage should be like this:
server <port> <remote ip> <remote port>
E.g.:
server 1111 192.168.0.1 1111
Are there any examples for such a scenario? Or any hints how to edit
the example above?
Thanks in advance!
Goran