output error when set socket opt fails

master
Jay Sorg 13 years ago
parent b2e69bbb46
commit 4e92468262

@ -352,6 +352,10 @@ g_tcp_set_no_delay(int sck)
{
ret = 0; /* success */
}
else
{
g_writeln("Error setting tcp_nodelay");
}
}
}
else
@ -389,6 +393,10 @@ g_tcp_set_keepalive(int sck)
{
ret = 0; /* success */
}
else
{
g_writeln("Error setting tcp_keepalive");
}
}
}
else

Loading…
Cancel
Save