Bug winsock?

Mumit Khan khan@NanoTech.Wisc.EDU
Sun Jan 28 18:23:00 GMT 2001


On Sun, 28 Jan 2001, Pietro wrote:

> Hello,
> I have gcc-2.95.2 for windows95 (mingw32).
> The problem is :

This is a platfor-specific issue, and you should use the Mingw
mailing list for this type of queries. Please visist Mingw site
at http://www.mingw.org/ for details on how to subscribe.

The answer is that you need to link with the winsock library
as well. Add -lwsock32 at the end of your 

> The command is : gcc sock.c (name my program)

Try: gcc -o sock sock.c -lwsock32

Regards,
Mumit




More information about the Gcc mailing list