43 #ifndef _networksocket_cpp
44 #define _networksocket_cpp
46 #include "Network/socket.h"
52 #include <sys/types.h>
53 #include <sys/socket.h>
54 #include <netinet/in.h>
55 #include <netinet/tcp.h>
56 #include <arpa/inet.h>
69 typedef UINT_PTR SocketHandle;
71 typedef socklen_t AddrLen;
72 typedef int SocketHandle;
80 struct InternalSocketData
82 InternalSocketData() : Handle(0) {};
86 Socket::Socket(
const SocketType& Type)
97 Socket::SocketType Socket::GetType()
const
102 Socket::SocketError Socket::GetError()
const