Commit 2225ced7 authored by echicken's avatar echicken 🐔
Browse files

Hurr.

But also, this needs some revision since I'm supposed to send
the header all at once and probably shouldn't be doing a bunch
of individual sendBin calls.
parent a6cb6cc4
......@@ -104,7 +104,7 @@ try {
FServerSocket.sendBin(36, 2);
}
FServerSocket.sendBin(inet_pton(client.ip_address), 4);
FServerSocket.sendBin(inet_pton(TARGET_IP_ADDRESS_GOES_HERE), 4);
FServerSocket.sendBin(inet_pton(FServerSocket.remote_ip_address), 4);
FServerSocket.sendBin(client.port, 2);
FServerSocket.sendBin(TargetPort, 2);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment