Library: NetSSL_OpenSSL
Package: SSLSockets
Header: Poco/Net/SecureStreamSocket.h
A subclass of StreamSocket for secure SSL sockets.
Direct Base Classes: StreamSocket
All Base Classes: Socket, StreamSocket
Member Functions: operator =
Inherited Functions: address, available, close, connect, connectNB, getBlocking, getKeepAlive, getLinger, getNoDelay, getOOBInline, getOption, getReceiveBufferSize, getReceiveTimeout, getReuseAddress, getReusePort, getSendBufferSize, getSendTimeout, impl, operator, operator !=, operator <, operator <=, operator =, operator >, operator >=, peerAddress, poll, receiveBytes, select, sendBytes, sendUrgent, setBlocking, setKeepAlive, setLinger, setNoDelay, setOOBInline, setOption, setReceiveBufferSize, setReceiveTimeout, setReuseAddress, setReusePort, setSendBufferSize, setSendTimeout, shutdown, shutdownReceive, shutdownSend, sockfd, supportsIPv4, supportsIPv6
Creates an unconnected stream socket.
Before sending or receiving data, the socket must be connected with a call to connect().
SecureStreamSocket(
const SocketAddress & address
);
Creates a stream socket and connects it to the socket specified by address.
SecureStreamSocket(
const Socket & socket
);
Creates the StreamSocket with the SocketImpl from another socket. The SocketImpl must be a StreamSocketImpl, otherwise an InvalidArgumentException will be thrown.
SecureStreamSocket(
SocketImpl * pImpl
);
virtual ~SecureStreamSocket();
Destroys the StreamSocket.
SecureStreamSocket & operator = (
const Socket & socket
);
Assignment operator.
Releases the socket's SocketImpl and attaches the SocketImpl from the other socket and increments the reference count of the SocketImpl.