|
Boost Users : |
Subject: Re: [Boost-users] [ASIO] Send data on a socket
From: Igor R (boost.lists_at_[hidden])
Date: 2011-08-12 08:19:12
> I created a socket with BOOST asio and I use it in a server process that
> accepts connections from "remote" client.
> It is possible from the process that created the socket, send data to the
> same socket simulating the arrival of data from a client process?
To the same socket - you can send data back to your client. To
simulate data arrival, you have to connect another socket to the port
that the listening socket listens on, but this second socket can
reside in the same process.
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