All pastes #1400050 Raw Edit

Unbenannt

public text v1 · immutable
#1400050 ·published 2009-04-22 19:49 UTC
rendered paste body
module 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()
    {
    }
}