Exemplo n.º 1
0
 public void SetPacketProcess(PacketProcessing p)
 {
     packetProcessing = p;
 }
Exemplo n.º 2
0
 public void ProcessPackets(PacketProcessing p)
 {
     socketServer = new PoDSocketServer();
     socketServer.SetPacketProcess(p);
 }
Exemplo n.º 3
0
 public void ProcessPackets(PacketProcessing p)
 {
     socketServer = new PoDSocketServer();
     socketServer.SetPacketProcess(p);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Construct server with given port.
 /// </summary>
 /// <param name="path">Directory path to serve.</param>
 /// <param name="port">Port of the server.</param>
 public SimpleHTTPServer(string path, int port)
 {
     packetsServer = new PacketProcessing();
     this.Initialize(path, port);
 }
Exemplo n.º 5
0
 public void SetPacketProcess(PacketProcessing p)
 {
     packetProcessing = p;
 }