piggyback data on acks when making connections on linux

This commit is contained in:
Matt Johnston
2015-02-13 22:49:15 +08:00
parent 8eb30c353a
commit 9aeda4c5bd
2 changed files with 40 additions and 9 deletions

View File

@@ -73,7 +73,7 @@ int main(int argc, char ** argv) {
#endif
{
int sock = connect_remote(cli_opts.remotehost, cli_opts.remoteport,
0, &error);
1, &error);
sock_in = sock_out = sock;
}