rendered paste bodymodule siege.modules.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
{
private
{
}
public:
this()
{
}
}
class NetworkUDPModule: SocketStream
{
private
{
}
public:
this()
{
}
}