This class implements a TCP socket.
Direct Base Classes: SocketImpl
Member Functions: sendBytes
Inherited Functions: acceptConnection, address, available, bind, bind6, close, connect, connectNB, duplicate, error, getBlocking, getBroadcast, getKeepAlive, getLinger, getNoDelay, getOOBInline, getOption, getRawOption, getReceiveBufferSize, getReceiveTimeout, getReuseAddress, getReusePort, getSendBufferSize, getSendTimeout, init, initSocket, initialized, ioctl, lastError, listen, peerAddress, poll, receiveBytes, receiveFrom, referenceCount, release, reset, secure, sendBytes, sendTo, sendUrgent, setBlocking, setBroadcast, setKeepAlive, setLinger, setNoDelay, setOOBInline, setOption, setRawOption, setReceiveBufferSize, setReceiveTimeout, setReuseAddress, setReusePort, setSendBufferSize, setSendTimeout, shutdown, shutdownReceive, shutdownSend, socketError, sockfd
Creates a StreamSocketImpl.
Creates a SocketImpl, with the underlying socket initialized for the given address family.
Creates a StreamSocketImpl using the given native socket.
virtual int sendBytes(
const void * buffer,
int flags = 0
Ensures that all data in buffer is sent if the socket is blocking. In case of a non-blocking socket, sends as many bytes as possible.
Returns the number of bytes sent. The return value may also be negative to denote some special condition.
See also: Poco::Net::SocketImpl::sendBytes()