|
| | DtQueueSocket () |
| | Default constructor. More...
|
| |
| virtual | ~DtQueueSocket () |
| | Destructor. More...
|
| |
| virtual int | sendTo (caddr_t packet, size_t size, DtIpv4Addr addr) |
| | Virtual function override. More...
|
| |
| virtual int | DtRecv (caddr_t *buffptr, int *status=NULL) |
| | Virtual function override. More...
|
| |
| virtual int | DtRecv (caddr_t buff, size_t) |
| |
| | DtSocket () |
| | Default constructor. More...
|
| |
| virtual | ~DtSocket () |
| | Default Destructor. More...
|
| |
| virtual int | DtSend (caddr_t packet, size_t size, DtIpv4Addr addr=DtUSE_DEFAULT_IP_ADDR) |
| | DtSend is called when someone wants to send a packet to this "Socket", in other words, all outgoing messages are passed to this socket via DtSend(). More...
|
| |
| caddr_t | DtRecv () |
| |
| virtual DtFlushStatus | flush () |
| | Send buffered messages. More...
|
| |
| virtual DtFlushStatus | flush (long &byteCount) |
| | Send buffered messages. More...
|
| |
| virtual void | setReceiveBufferSize (int newsize) |
| | Change the socket's receive buffer size that the OS uses to collect incoming data from the network. More...
|
| |
| virtual void | setSendBufferSize (int newsize) |
| | Change the socket's send buffer size that the OS uses when writing data to the network. More...
|
| |
| virtual void | setBundling (int maxSize) |
| |
| virtual int | isBundling () |
| |
| virtual void | setUnbundling (int) |
| |
| virtual DtIpv4Addr | lastSourceInetAddr () |
| |
| virtual int | DtReportPktsRcvd (void) |
| |
| virtual void | DtBecomeNonBlocking (void) |
| |
| virtual void | notifyMe () |
| |
| virtual int | listenToMulticastGroup (DtIpv4Addr addr, DtIpv4Addr netInterface=DtUSE_DEFAULT_IP_ADDR) |
| |
| virtual int | dropMulticastGroup (DtIpv4Addr addr, DtIpv4Addr netInterface=DtUSE_DEFAULT_IP_ADDR) |
| |
| virtual int | setMcastTtl (int) |
| |
| virtual void | setMcastDevice (DtIpv4Addr) |
| |
| virtual DtFilterTest * | exerciseId () |
| |
| virtual DtFilterTest * | protocolVersion () |
| |
| virtual DtFilterTest * | pduKind () |
| |
| virtual DtFilterTest * | ipAddr () |
| |
| virtual int | readFd () |
| | Get the file descriptor for reading and writing to this socket. More...
|
| |
| virtual int | writeFd () |
| |
| virtual bool | isOk () const |
| |
A DtQueueSocket is a DtSocket that does NOT send or receive.
Instead, it simply queues up all packets internally; DtRecv() returns them in the order they were added with sendTo().
In DIS, you can use this class to prevent an exercise connection from sending or receiving.