Win32 socket addition
Chris Double <[email protected]> 05 Oct 2002 15:35:08 +1200
| Newsgroups | gmane.comp.lang.goo.general |
|---|---|
| Message-ID | <[email protected]> |
One more change to %net.c:
GOOFUNC(close_socket) (P sockfd)
{
#if defined(_MSC_VER)
closesocket(sockUnwrap(sockfd));
#else
close(sockUnwrap(sockfd));
#endif
return YPtrue;
}
Chris.