Library: Net
Package: Sockets
Header: Poco/Net/StreamSocketImpl.h
This class implements a TCP socket.
Direct Base Classes: SocketImpl
All Base Classes: SocketImpl, Poco::RefCountedObject
Known Derived Classes: SecureStreamSocketImpl
Member Functions: sendBytes
Inherited Functions: acceptConnection, address, available, bind, close, connect, connectNB, duplicate, error, getBlocking, getBroadcast, getKeepAlive, getLinger, getNoDelay, getOOBInline, getOption, getRawOption, getReceiveBufferSize, getReceiveTimeout, getReuseAddress, getReusePort, getSendBufferSize, getSendTimeout, init, initSocket, initialized, invalidate, ioctl, lastError, listen, peerAddress, poll, receiveBytes, receiveFrom, referenceCount, release, sendBytes, sendTo, sendUrgent, setBlocking, setBroadcast, setKeepAlive, setLinger, setNoDelay, setOOBInline, setOption, setRawOption, setReceiveBufferSize, setReceiveTimeout, setReuseAddress, setReusePort, setSendBufferSize, setSendTimeout, setSockfd, shutdown, shutdownReceive, shutdownSend, socketError, sockfd
Creates a StreamSocketImpl.
StreamSocketImpl(
SOCKET sockfd
);
Creates a StreamSocketImpl using the given native socket.
virtual ~StreamSocketImpl();
virtual int sendBytes(
const void * buffer,
int length,
int flags = 0
);
Ensures that all data in buffer is sent.
See also: Poco::Net::SocketImpl::sendBytes()