1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-04 09:17:32 -05:00
This commit is contained in:
V2Ray 2015-10-05 16:59:46 +02:00
parent 9b12ee2eb3
commit 38e64bf2ce

View File

@ -66,5 +66,8 @@ func (server *SocksServer) handlePacket(conn *net.UDPConn, packet v2net.Packet,
request.Data = data
udpMessage := request.Bytes(nil)
nBytes, err := conn.WriteToUDP(udpMessage, clientAddr)
if err != nil {
log.Error("Socks failed to write UDP message (%d bytes) to %s: %v", nBytes, clientAddr.String(), err)
}
}
}