module siege.modules.phobos.network.network; version(Win32) { pragma(lib,"ws2_32.lib"); private { import std.socket; import std.socketstream; } } else { version(linux) { private { import std.socket; import std.socketstream; } } else { /**** Add the link librarie / modules of other plataforms (future PSP compatibilitie and others) ****/ // // // version(PSP) // { // } // else // { // assert(0,"Sockets not implemented on this plataform"); // } // // // // } } private { } class NetworkTCPModule: Socket { this() { super(); } } class NetworkUDPModule: SocketStream { this(Socket sock) { super(sock); } }