[EMAIL PROTECTED] wrote:

Index: rfc1413.c
===================================================================
+ /* Win32 timeouts are in msec, represented as int */
+ msec = timeout * 1000;
+ setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, + (char *) &msec, sizeof(msec));
+ setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO, + (char *) &msec, sizeof(msec));
+#else
+ //XXX Needs to be implemented for non-winsock platforms

watch your language


Reply via email to