Gracias por contestar
Ayer estuve probando ese ejemplo pero me da problemas en:
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
[C++ Error] Unit1.cpp(8): E2209 Unable to open include file 'sys/socket.h'
[C++ Error] Unit1.cpp(9): E2209 Unable to open include file 'netdb.h'
[C++ Error] Unit1.cpp(25): E2450 Undefined structure 'sockaddr'
[C++ Error] Unit1.cpp(25): E2449 Size of 'whereto' is unknown or zero
[C++ Error] Unit1.cpp(25): E2450 Undefined structure 'sockaddr'
[C++ Error] Unit1.cpp(31): E2450 Undefined structure 'sockaddr'
|