我用o的係Dev C++,但唔知佢會error
有冇d sample比我(要work)
=================================
#include
#include
main(){
SOCKET s;
s = socket(AF_INET, SOCK_STREAM, 0);
}
=================================
In function `main':
[Linker error] undefined reference to `socket@12'
ld returned 1 exit status