Class DTCPServer

Inherits from:
Object
Declared in:
DTCPServer.h

Class Hierarchy

    Object
      |
      +---DTCPServer

Class Description

The DTCPServer class implements a number of methods for implementing a TCP server. (Note: on WIN32 DTS_FORKING is not possible; when DTS_FORKING is used, it is switched to DTS_THREADING)(Note: this class assumes that the socket is blocking.)(Note: on FreeBSD DTS_THREADING results in errors; when DTS_THREADING is used, it is switched to DTS_FORKING)

Last modified:
31-Oct-2007 (DTCPServer.h)

Instance Variables

private DSocket *_local
the local socket
private int _mode
the running mode (DTS_THREADING, DTS_FORKING, DTS_BLOCKING)
private int _sendFlag
the send flag (def. 0)
private int _recvFlag
the receive flag (def. 0)
private unsigned _recvLength
the length used during receiving of requests (def. 1024)

Method Index


generated 05-Nov-2007 by ObjcDoc 3.0.0