mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-03-27 22:46:37 +00:00
testing
This commit is contained in:
@@ -110,6 +110,7 @@ func forward(in net.Conn, out transport.Transport) {
|
||||
b1.Write(buf[:n])
|
||||
out.WritePacket(createPacket(PKT_TYPE_DATA, b1.Bytes()))
|
||||
b1.Reset()
|
||||
log.Printf("Forward data")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -123,5 +124,6 @@ func receive(data []byte, out net.Conn) {
|
||||
binary.Read(buf, binary.LittleEndian, &pkt)
|
||||
|
||||
out.Write(pkt)
|
||||
log.Printf("Received data")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user