THanks for the help very much.

I tried to build demos\cli.cpp and serv.cpp projects
under VC++6 env. 

I changed 

#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>

into 

#include <winsock2.h> 

for win32 env.

I added 

ssleay32.lib
libeay32.lib 
wsock32.lib

to 

object/lib modules

for vc++6 dev env.

Then
I compiled and linked the two projects "successfully".

But whenever I tried to run either one, program failed
at the socket() function.

Is something wrong within the above steps or some
important step missed?

I am waiting for your help.
Thanks very much.

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to