Code: Select all
ne0.c: In function `funk':
ne0.c:111: warning: function returns address of local variable
/tmp/ccb5wgCD.o(.text+0x81): In function `funk':
: undefined reference to `WSAStartup'
/tmp/ccb5wgCD.o(.text+0x246): In function `main':
: undefined reference to `WSAStartup'
/tmp/ccb5wgCD.o(.text+0x5da): In function `main':
: undefined reference to `closesocket'
/tmp/ccb5wgCD.o(.text+0x5e2): In function `main':
: undefined reference to `WSACleanup'
collect2: ld returned 1 exit status
So can u help me fix it ? Thanks so much