|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLNET::CDummyTcpSock Class ReferenceDummy CTcpSock replacement for replay mode.
More...
#include <dummy_tcp_sock.h>
Inheritance diagram for NLNET::CDummyTcpSock:
List of all members.
Detailed Description
Dummy CTcpSock replacement for replay mode.
-
Author:
-
Olivier Cado , Nevrax France
-
Date:
-
2001
Definition at line 42 of file dummy_tcp_sock.h.
Constructor & Destructor Documentation
NLNET::CDummyTcpSock::CDummyTcpSock |
( |
bool |
logging = true |
) |
[inline] |
|
Member Function Documentation
virtual void NLNET::CDummyTcpSock::close |
( |
|
) |
[inline, virtual] |
|
|
Closes the socket (without shutdown) In general you don't need to call this method.
But you can call it to:
- close a listening socket (i.e. stop accepting connections), or
- stop a select() in progress in another thread (in this case, just calling the destructor is not enough)
Reimplemented from NLNET::CSock.
Definition at line 59 of file dummy_tcp_sock.h. |
void NLNET::CDummyTcpSock::connect |
( |
const CInetAddress & |
addr |
) |
[virtual] |
|
void NLNET::CDummyTcpSock::disconnect |
( |
|
) |
[virtual] |
|
virtual void NLNET::CDummyTcpSock::setNoDelay |
( |
bool |
value |
) |
[inline, virtual] |
|
|
Sets/unsets TCP_NODELAY (by default, it is off, i.e.
the Nagle buffering algorithm is enabled). You must call this method *after* connect().
Reimplemented from NLNET::CTcpSock.
Definition at line 56 of file dummy_tcp_sock.h. |
The documentation for this class was generated from the following files:
|
|