C# Class SkyNet.Network.NetIO

Inheritance: BinaryIO
显示文件 Open project: hipolipolopigus/SkyNet_Old Class Usage Examples

Public Methods

Method Description
NetIO ( NetworkStream Stream ) : System
ReadPacket ( int TimeoutMS = 500 ) : Packet
WritePacket ( Packet P ) : void

Method Details

NetIO() public method

public NetIO ( NetworkStream Stream ) : System
Stream System.Net.Sockets.NetworkStream
return System

ReadPacket() public method

public ReadPacket ( int TimeoutMS = 500 ) : Packet
TimeoutMS int
return Packet

WritePacket() public method

public WritePacket ( Packet P ) : void
P Packet
return void