Added delays between dealing cards. Added check for IPv6.

This commit is contained in:
lotodore
2007-06-05 21:28:47 +00:00
parent 750138ab55
commit 9a3e45d710
13 changed files with 266 additions and 141 deletions
-15
View File
@@ -38,18 +38,3 @@ socket_cleanup()
{
}
bool
socket_has_sctp()
{
#ifdef IPPROTO_SCTP
int test = socket(AF_INET, SOCK_STREAM, IPPROTO_SCTP);
if (test == -1)
return false;
close(test);
return true;
#else
return false;
#endif
}