>From the winsocket.h file: /* * Basic system type definitions, taken from the BSD file sys/types.h. */ typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int; typedef unsigned long u_long;
/* * The new type to be used in all * instances which refer to sockets. */ typedef u_int SOCKET; So yes you can use SOCKET, it is an unsigned int. -----Original Message----- From: Boguslaw Brandys [mailto:[EMAIL PROTECTED]] Sent: 29 April 2002 10:37 To: OpenSSL-users Subject: Can I use SOCKET type (in Windows) in OpenSSL ? Hi, In Windows function socket() returns SOCKET data type (not simple int). Can I use it in OpenSSL functions ? Boguslaw Brandys -- Encyklopedia multimedialna w prezencie! http://www.e-mail.onet.pl ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]