CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iNetworkListener Struct Reference

This is a network listener interface. More...

#include <driver.h>

Inheritance diagram for iNetworkListener:

iNetworkEndPoint iBase List of all members.

Public Methods

virtual csPtr< iNetworkConnectionAccept ()=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

virtual csPtr<iNetworkConnection> iNetworkListener::Accept   [pure virtual]
 

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:
Generated for Crystal Space by doxygen 1.2.18