mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-17 22:13:50 +02:00
testing
This commit is contained in:
parent
fdffd962f0
commit
a01ee3444e
4 changed files with 7 additions and 3 deletions
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue