iNetworkListener Struct Reference
This is a network listener interface. More...
#include <driver.h>
Inheritance diagram for iNetworkListener:

Public Methods | |
virtual csPtr< iNetworkConnection > | Accept ()=0 |
Accepts a connection request. |
Detailed Description
This is a network listener interface.It represents a single network listening post. All network listeners must implement this interface.
Definition at line 140 of file driver.h.
Member Function Documentation
|
Accepts a connection request. If the listener is configured to block, the function does not return until a connection has been established or an error has occurred. If non-blocking, then it returns immediately. The return value is either an accepted connection or 0. If the connection is non-blocking, 0 is returned, and GetLastError() returns CS_NET_ERR_NO_ERROR then no connection was pending. Otherwise an error occurred, and GetLastError() returns the appropriate error code. |
The documentation for this struct was generated from the following file:
- inetwork/driver.h
Generated for Crystal Space by doxygen 1.2.18