----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------



Pierpaolo Fumagalli wrote:

> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> jlwpc1 wrote:
> >
> > I'm so confused - why is JServ compiled as a Winsock1.1 app?
> >
> Ask to Microsoft Visual C++.... I don't know why ...
> How can I force compiling uning WinSock2.0?
>

when you compile you include <winsock2.h> before <windows.h>
when you link you link to ws2_32.lib instead of wsock.lib

thats all you need.

>
>         Pier
> --
> Pierpaolo Fumagalli - IBM Center for Java Technologies
> <mailto:[EMAIL PROTECTED]>   <mailto:[EMAIL PROTECTED]>
> ======================================================
> IBM Notes ID:  Pierpaolo Fumagalli/Cupertino/IBM@IBMUS
> Telephone: +1 (408) 777-5838 - IBM Tieline #: 240-5838
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to