Subject | Re: [ib-support] InterServer & Windows Socket Problems |
---|---|
Author | Paul Beach |
Post date | 2001-07-28T11:15:17Z |
Actually the first close socket statement should be:
NetTCP::netClose (int sockfd)
{
#ifdef WIN32
// Close Windows Sockets Properly
closesocket (sockfd);
#else
close (sockfd);
#endif
}
Wasn't concentrating enough and screwed up the ifdef.
Will also be re-compiling InterServer on Windows to support more than the
default 64 socket connections on Windows as per Winsock/2.h
Regards
Paul Beach
Main Tel (UK):+44 (0) 1844 354465
Mobile: (UK): +44 (0) 7764 188603
http://www.ibphoenix.com
NetTCP::netClose (int sockfd)
{
#ifdef WIN32
// Close Windows Sockets Properly
closesocket (sockfd);
#else
close (sockfd);
#endif
}
Wasn't concentrating enough and screwed up the ifdef.
Will also be re-compiling InterServer on Windows to support more than the
default 64 socket connections on Windows as per Winsock/2.h
Regards
Paul Beach
Main Tel (UK):+44 (0) 1844 354465
Mobile: (UK): +44 (0) 7764 188603
http://www.ibphoenix.com