src/port.c
int close_socket(os_socket_t sock){
#if	!defined(_WIN32) && !defined(_WIN32_WCE)
	return close (sock);
#else
	return closesocket(sock);
#endif
}
/*
 * this method is an utility method that calls close() on UNIX or
 * closesocket on Win32.
 * int retrun the result of the system method
 */
this method is an utility method that calls close() on UNIX or
closesocket on Win32.
int retrun the result of the system method
this method is an utility method that calls close () on UNIX or closesocket on Win32 . int retrun the result of the system method
int close_socket(os_socket_t sock){
#if	!defined(_WIN32) && !defined(_WIN32_WCE)
	return close (sock);
#else
	return closesocket(sock);
#endif
}
int close_socket ( os_socket_t sock ) { #if ! defined ( _WIN32 ) && ! defined ( _WIN32_WCE ) return close ( sock ) ; #else return closesocket ( sock ) ; #endif }
this method is an utility method that calls close() on UNIX or
 closesocket on Win32.
this method is an utility method that calls close () on UNIX or closesocket on Win32 .