TcpipServer Class Reference

TCP/IP サーバクラス. More...

#include <tcpipServer.h>

Inheritance diagram for TcpipServer:

Inheritance graph
[legend]
Collaboration diagram for TcpipServer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void activate (unsigned short port)
 接続待ちポートの起動
TcpipDeviceaccept (int timeout=0, bool eachCheckSockets=true)
 接続受け付け

Static Public Member Functions

static std::string getOwnIP (void)


Detailed Description

TCP/IP サーバクラス.

Definition at line 19 of file tcpipServer.h.


Member Function Documentation

void TcpipServer::activate ( unsigned short  port  ) 

接続待ちポートの起動

Parameters:
port [i] ポート番号

Definition at line 38 of file tcpipServer.cpp.

Referenced by PeerConnection::connect(), ConnectionHub::ConnectionHub(), URG_Simulator::init(), and tRunCtrl_Simulator::init().

TcpipDevice * TcpipServer::accept ( int  timeout = 0,
bool  eachCheckSockets = true 
)

接続受け付け

Parameters:
timeout [i] タイムアウト [msec]
eachCheckSockets [i] 受信チェックをソケット毎に行う場合 true
Return values:
TcpipDevice オブジェクト

Definition at line 58 of file tcpipServer.cpp.

References TcpipDevice::addSocket(), and TcpipDevice::TcpipDevice().

Referenced by PeerConnection::connect(), ConnectionHub::preUpdate(), URG_Simulator::recv(), and tRunCtrl_Simulator::recv().


The documentation for this class was generated from the following files:

Generated on Mon Apr 13 22:52:07 2009 by  doxygen 1.5.7.1