I get the following output when I run gcc compilter. These are my includes:
winsock2.h stdio.h
Does anyone know why this is happening? This stuff comes immediately after the errors and warnings that normally occur. I'm using Win2k operating system, with the latest version of GCC compiler.

\Temp/cckLaaaa.o(.text+0x38a):ylogin.c: undefined reference to `WSAStartup@8'
\Temp/cckLaaaa.o(.text+0x50e):ylogin.c: undefined reference to `socket@12'
\Temp/cckLaaaa.o(.text+0x52a):ylogin.c: undefined reference to `WSAGetLastError@0
\Temp/cckLaaaa.o(.text+0x53f):ylogin.c: undefined reference to `WSACleanup@0'
\Temp/cckLaaaa.o(.text+0x552):ylogin.c: undefined reference to `WSAGetLastError@0
\Temp/cckLaaaa.o(.text+0x567):ylogin.c: undefined reference to `WSACleanup@0'
\Temp/cckLaaaa.o(.text+0x588):ylogin.c: undefined reference to `socket@12'
\Temp/cckLaaaa.o(.text+0x5a6):ylogin.c: undefined reference to `inet_addr@4'
\Temp/cckLaaaa.o(.text+0x5bb):ylogin.c: undefined reference to `htons@4'
\Temp/cckLaaaa.o(.text+0x5da):ylogin.c: undefined reference to `inet_addr@4'
\Temp/cckLaaaa.o(.text+0x5ef):ylogin.c: undefined reference to `htons@4'
\Temp/cckLaaaa.o(.text+0x61d):ylogin.c: undefined reference to `connect@12'
\Temp/cckLaaaa.o(.text+0x636):ylogin.c: undefined reference to `WSACleanup@0'
\Temp/cckLaaaa.o(.text+0x65b):ylogin.c: undefined reference to `connect@12'
\Temp/cckLaaaa.o(.text+0x674):ylogin.c: undefined reference to `WSACleanup@0'
\Temp/cckLaaaa.o(.text+0x6b8):ylogin.c: undefined reference to `send@16'
\Temp/cckLaaaa.o(.text+0x6e9):ylogin.c: undefined reference to `recv@16'
\Temp/cckLaaaa.o(.text+0x711):ylogin.c: undefined reference to `closesocket@4'
\Temp/cckLaaaa.o(.text+0x745):ylogin.c: undefined reference to `recv@16'
\Temp/cckLaaaa.o(.text+0x7ba):ylogin.c: undefined reference to `send@16'
\Temp/cckLaaaa.o(.text+0x7ef):ylogin.c: undefined reference to `recv@16'
\Temp/cckLaaaa.o(.text+0xb35):ylogin.c: undefined reference to `send@16'
\Temp/cckLaaaa.o(.text+0xb80):ylogin.c: undefined reference to `recv@16'
\Temp/cckLaaaa.o(.text+0xc91):ylogin.c: undefined reference to `recv@16'
\Temp/cckLaaaa.o(.text+0x13a4):ylogin.c: undefined reference to `send@16'
\Temp/cckLaaaa.o(.text+0x13fc):ylogin.c: undefined reference to `recv@16'