C# Class Network.Client

Inheritance: Network.Base
ファイルを表示 Open project: automaters/bonjour.net Class Usage Examples

Protected Properties

Property Type Description
client Socket
dataStream System.Stream
expectMultipleResponses bool

Public Methods

Method Description
Client ( NetworkConfig config ) : System
Client ( bool isStateLess ) : System
StartTcp ( ) : void
StartTcp ( IPAddress address, ushort port ) : void
StartTcp ( IPEndPoint host ) : void
StartUdp ( ) : void
StartUdp ( IPAddress address, ushort port ) : void
StartUdp ( IPEndPoint host ) : void

Protected Methods

Method Description
Client ( Socket s, Network.Server server ) : System
JoinMulticastGroup ( IPAddress multicastAddr, byte timeToLive ) : void

Method Details

Client() public method

public Client ( NetworkConfig config ) : System
config NetworkConfig
return System

Client() protected method

protected Client ( Socket s, Network.Server server ) : System
s Socket
server Network.Server
return System

Client() public method

public Client ( bool isStateLess ) : System
isStateLess bool
return System

JoinMulticastGroup() protected method

protected JoinMulticastGroup ( IPAddress multicastAddr, byte timeToLive ) : void
multicastAddr System.Net.IPAddress
timeToLive byte
return void

StartTcp() public method

public StartTcp ( ) : void
return void

StartTcp() public method

public StartTcp ( IPAddress address, ushort port ) : void
address System.Net.IPAddress
port ushort
return void

StartTcp() public method

public StartTcp ( IPEndPoint host ) : void
host System.Net.IPEndPoint
return void

StartUdp() public method

public StartUdp ( ) : void
return void

StartUdp() public method

public StartUdp ( IPAddress address, ushort port ) : void
address System.Net.IPAddress
port ushort
return void

StartUdp() public method

public StartUdp ( IPEndPoint host ) : void
host System.Net.IPEndPoint
return void

Property Details

client protected_oe property

protected Socket client
return Socket

dataStream protected_oe property

protected Stream,System dataStream
return System.Stream

expectMultipleResponses protected_oe property

protected bool expectMultipleResponses
return bool