Library: Remoting/Binary
Package: Binary
Header: Poco/Remoting/Binary/Transport.h
SocketFactory is used by the Transport to create a socket for the connection to the listener on the server.
Direct Base Classes: Poco::RefCountedObject
All Base Classes: Poco::RefCountedObject
Member Functions: createSocket
Inherited Functions: duplicate, referenceCount, release
typedef Poco::AutoPtr < SocketFactory > Ptr;
Creates the SocketFactory.
virtual ~SocketFactory();
Destroys the SocketFactory.
virtual Poco::Net::StreamSocket createSocket(
const Poco::URI & uri
);
Create and return a Poco::Net::StreamSocket (or subclass of it), connected to the address given by URI.
The default implementation simply creates a Poco::Net::StreamSocket.