C# 클래스 Network.Client

상속: Network.Base
파일 보기 프로젝트 열기: automaters/bonjour.net 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
client Socket
dataStream System.Stream
expectMultipleResponses bool

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Client ( Socket s, Network.Server server ) : System
JoinMulticastGroup ( IPAddress multicastAddr, byte timeToLive ) : void

메소드 상세

Client() 공개 메소드

public Client ( NetworkConfig config ) : System
config NetworkConfig
리턴 System

Client() 보호된 메소드

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

Client() 공개 메소드

public Client ( bool isStateLess ) : System
isStateLess bool
리턴 System

JoinMulticastGroup() 보호된 메소드

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

StartTcp() 공개 메소드

public StartTcp ( ) : void
리턴 void

StartTcp() 공개 메소드

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

StartTcp() 공개 메소드

public StartTcp ( IPEndPoint host ) : void
host System.Net.IPEndPoint
리턴 void

StartUdp() 공개 메소드

public StartUdp ( ) : void
리턴 void

StartUdp() 공개 메소드

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

StartUdp() 공개 메소드

public StartUdp ( IPEndPoint host ) : void
host System.Net.IPEndPoint
리턴 void

프로퍼티 상세

client 보호되어 있는 프로퍼티

protected Socket client
리턴 Socket

dataStream 보호되어 있는 프로퍼티

protected Stream,System dataStream
리턴 System.Stream

expectMultipleResponses 보호되어 있는 프로퍼티

protected bool expectMultipleResponses
리턴 bool