[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Win32 socket addition



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.