1
This commit is contained in:
parent
3aa17f7c07
commit
7c4682d82b
@ -81,6 +81,13 @@ func (this *WspCliConn) Reset() {
|
||||
this.SocketHandle = 0
|
||||
}
|
||||
|
||||
func (this *MsgHdr) GetSocket() WspCliConn{
|
||||
socket := WspCliConn{}
|
||||
socket.Conn = this.Conn
|
||||
socket.SocketHandle = this.SocketHandle
|
||||
return socket
|
||||
}
|
||||
|
||||
func (this *WSProxyPackHead_C) Read(data []byte, offset int) {
|
||||
this.PackLen = q5.MkUInt16(data[offset + 0], data[offset + 1])
|
||||
this.MsgId = q5.MkUInt16(data[offset + 2], data[offset + 3])
|
||||
|
Loading…
x
Reference in New Issue
Block a user