Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Spr::WBSockStreambuf Class Reference

TCP/IPソケットを iostream の streambuffer に結びつけたもの.WBSockStream が使用する.. More...

#include <WBSockStr.h>

List of all members.

Public Member Functions

Protected Attributes


Detailed Description

TCP/IPソケットを iostream の streambuffer に結びつけたもの.WBSockStream が使用する..

Definition at line 12 of file WBSockStr.h.


Constructor & Destructor Documentation

Spr::WBSockStreambuf::WBSockStreambuf char *  gb,
int  gl,
char *  pb,
int  pl
 

コンストラクタ

Spr::WBSockStreambuf::~WBSockStreambuf  ) 
 

デストラクタ


Member Function Documentation

bool Spr::WBSockStreambuf::IsConnected  ) 
 

接続しているかどうか

bool Spr::WBSockStreambuf::IsListening  )  [inline]
 

listenしているかどうか

Definition at line 33 of file WBSockStr.h.

bool Spr::WBSockStreambuf::IsServer  )  [inline]
 

サーバかどうか

Definition at line 35 of file WBSockStr.h.

bool Spr::WBSockStreambuf::Listen UINT  port  ) 
 

サーバになってListen(接続要求待ち) する

bool Spr::WBSockStreambuf::Accept bool  bBlock  ) 
 

接続要求を受け入れる

bool Spr::WBSockStreambuf::Connect const char *  adr,
UINT  port
 

クライアントになって接続要求をする.

void Spr::WBSockStreambuf::Close  ) 
 

接続を閉じる


Member Data Documentation

SOCKET Spr::WBSockStreambuf::sock [protected]
 

通信に使用するソケット

Definition at line 15 of file WBSockStr.h.

SOCKET Spr::WBSockStreambuf::sockListen [protected]
 

サーバになった場合,接続待ち(listen) に使用するソケット

Definition at line 16 of file WBSockStr.h.

UINT Spr::WBSockStreambuf::port [protected]
 

接続・接続待ちに使用するポート番号

Definition at line 17 of file WBSockStr.h.

SOCKADDR_IN Spr::WBSockStreambuf::oppAdr [protected]
 

接続相手のアドレス

Definition at line 18 of file WBSockStr.h.

int Spr::WBSockStreambuf::lastError [protected]
 

エラー番号

Definition at line 19 of file WBSockStr.h.

const char* Spr::WBSockStreambuf::lastErrorStr [protected]
 

エラーメッセージ

Definition at line 20 of file WBSockStr.h.

bool Spr::WBSockStreambuf::bConnected [protected]
 

接続しているかどうか

Definition at line 21 of file WBSockStr.h.

bool Spr::WBSockStreambuf::bListening [protected]
 

listen しているかどうか

Definition at line 22 of file WBSockStr.h.

bool Spr::WBSockStreambuf::bServer [protected]
 

サーバかどうか

Definition at line 23 of file WBSockStr.h.

WSAEVENT Spr::WBSockStreambuf::closeEvent [protected]
 

相手がソケットを閉じたことを検出するためのイベント

Definition at line 24 of file WBSockStr.h.


The documentation for this class was generated from the following file:
Generated on Sun Apr 16 02:08:22 2006 for Springhead by  doxygen 1.4.1