Property | Type | Description | |
---|---|---|---|
Host | string | ||
NetStream | |||
PacketRecvThread | Thread | ||
Port | int | ||
Progress | int | ||
Tcp |
Method | Description | |
---|---|---|
ConnectToServer ( ) : void | ||
Disconnect ( bool waitPacketThread = true ) : void | ||
Log ( string msg ) : void | ||
SendEmptyPacket ( uint cmd, uint arg0, uint arg1, uint arg2, uint arg3, uint arg4 ) : void | ||
SendHeartbeatPacket ( ) : void | ||
SendHelloPacket ( ) : void | ||
SendPacket ( uint type, uint cmd, uint args, uint dataLen ) : void | ||
SendReadMemPacket ( uint addr, uint size, uint pid, string fileName ) : void | ||
SendReloadPacket ( ) : void | ||
SendRemoteplayPacket ( uint priorityMode, uint priorityFactor = 5, uint quality = 90, uint qosValue = 100 ) : void | ||
SendSaveFilePacket ( string fileName, byte fileData ) : void | ||
SendWriteMemPacket ( uint addr, uint pid, byte buf ) : void | ||
SetServer ( string serverHost, int serverPort ) : void |
Method | Description | |
---|---|---|
ByteToHex ( IEnumerable |
||
HandlePacket ( uint cmd, uint seq, byte dataBuf ) : void | ||
HandleReadMem ( uint seq, byte dataBuf ) : void | ||
PacketRecvThreadStart ( ) : void | ||
ReadNetworkStream ( Stream stream, byte buf, int length ) : int |
public Disconnect ( bool waitPacketThread = true ) : void | ||
waitPacketThread | bool | |
return | void |
public SendEmptyPacket ( uint cmd, uint arg0, uint arg1, uint arg2, uint arg3, uint arg4 ) : void | ||
cmd | uint | |
arg0 | uint | |
arg1 | uint | |
arg2 | uint | |
arg3 | uint | |
arg4 | uint | |
return | void |
public SendPacket ( uint type, uint cmd, uint args, uint dataLen ) : void | ||
type | uint | |
cmd | uint | |
args | uint | |
dataLen | uint | |
return | void |
public SendReadMemPacket ( uint addr, uint size, uint pid, string fileName ) : void | ||
addr | uint | |
size | uint | |
pid | uint | |
fileName | string | |
return | void |
public SendRemoteplayPacket ( uint priorityMode, uint priorityFactor = 5, uint quality = 90, uint qosValue = 100 ) : void | ||
priorityMode | uint | |
priorityFactor | uint | |
quality | uint | |
qosValue | uint | |
return | void |
public SendSaveFilePacket ( string fileName, byte fileData ) : void | ||
fileName | string | |
fileData | byte | |
return | void |
public SendWriteMemPacket ( uint addr, uint pid, byte buf ) : void | ||
addr | uint | |
pid | uint | |
buf | byte | |
return | void |
public SetServer ( string serverHost, int serverPort ) : void | ||
serverHost | string | |
serverPort | int | |
return | void |
public NetworkStream,System.Net.Sockets NetStream | ||
return |