#include <tcpipServer.h>
Public Member Functions | |
void | activate (unsigned short port) |
接続待ちポートの起動 | |
TcpipDevice * | accept (int timeout=0, bool eachCheckSockets=true) |
接続受け付け | |
Static Public Member Functions | |
static std::string | getOwnIP (void) |
Definition at line 19 of file tcpipServer.h.
void TcpipServer::activate | ( | unsigned short | port | ) |
接続待ちポートの起動
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 | |||
) |
接続受け付け
timeout | [i] タイムアウト [msec] | |
eachCheckSockets | [i] 受信チェックをソケット毎に行う場合 true |
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().