C# Class Gwupe.Communication.P2P.P2P.Socket.BmTcpSocket

Inheritance: ISocket
Show file Open project: gwupe/Gwupe Class Usage Examples

Public Methods

Method Description
BindListen ( ) : IPEndPoint
BmTcpSocket ( IPEndPoint bindLocalEndPoint ) : System
Close ( ) : void
Connect ( ) : void
ListenOnce ( ) : void
Read ( byte data, int maxRead ) : int
Send ( byte data, int length ) : void
ToString ( ) : String

Protected Methods

Method Description
OnConnectionClosed ( ) : void
OnConnectionOpened ( ) : void

Method Details

BindListen() public method

public BindListen ( ) : IPEndPoint
return System.Net.IPEndPoint

BmTcpSocket() public method

public BmTcpSocket ( IPEndPoint bindLocalEndPoint ) : System
bindLocalEndPoint System.Net.IPEndPoint
return System

Close() public method

public Close ( ) : void
return void

Connect() public method

public Connect ( ) : void
return void

ListenOnce() public method

public ListenOnce ( ) : void
return void

OnConnectionClosed() protected method

protected OnConnectionClosed ( ) : void
return void

OnConnectionOpened() protected method

protected OnConnectionOpened ( ) : void
return void

Read() public method

public Read ( byte data, int maxRead ) : int
data byte
maxRead int
return int

Send() public method

public Send ( byte data, int length ) : void
data byte
length int
return void

ToString() public method

public ToString ( ) : String
return String