adresindeki kodu derlemeye calisirken asagidaki gibi hata aliyorum.
sebebi ne olabilir? nasil asabilirim?
 
$ gcc -o sunucu1 sunucu.c
sunucu.c: In function `main':
sunucu.c:13: storage size of `server_addr' isn't known
sunucu.c:13: storage size of `client_addr' isn't known
sunucu.c:28: `INADDR_ANY' undeclared (first use in this function)
sunucu.c:28: (Each undeclared identifier is reported only once
sunucu.c:28: for each function it appears in.)
sunucu.c:44: sizeof applied to an incomplete type
$ uname -a
FreeBSD parahat.mobi-nex.com 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Wed Dec 31 15:53:07 EET 2003     [EMAIL PROTECTED]:/usr/src/sys/i386/compile/NEWKERNEL1  i386
$ gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.2.2 [FreeBSD] 20030205 (release)
$

Cevap