i have recently started working with winsock and till now the
FAQ and quin's book have really helped me out.
i need a few clarifications though.
i have vc compiler with me and have been able to get simple
programs like getting IP address of local box fine.
however i found that i had two lib files related to winsock
that are needed while compiling.
"Ws2_32.lib or wsock32.lib"
i have been going through the archives and faq and some say
to include Ws2_32.lib and others (including faq) wsock32.lib
which one is the right one. (program compiles fine with wsock32.lib)
Second question: what is role of winsock.dll
the file indicates that it is a
"16-bit Windows Sockets API for Windows NT" version 3.10
what exactly does this dll do ? i have compiled and exe that
can get the IP address of the local host fine. does this exe
need to access the dll ? actually i deleted (renamed) this dll
and still my exe could run and execute just fine.
Sent via Deja.com
http://www.deja.com/