Library: Net
Package: Sockets
Header: Poco/Net/RawSocketImpl.h
This class implements a raw socket.
Direct Base Classes: SocketImpl
All Base Classes: SocketImpl, Poco::RefCountedObject
Known Derived Classes: ICMPSocketImpl
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 an unconnected IPv4 raw socket with IPPROTO_RAW.
RawSocketImpl(
int sockfd
);
Creates a RawSocketImpl using the given native socket.
RawSocketImpl(
IPAddress::Family family,
int proto = 255
);
Creates an unconnected raw socket.
The socket will be created for the given address family.
~RawSocketImpl();
void init(
int af
);
See also: Poco::Net::SocketImpl::init()
void init2(
int af,
int proto
);