sockscape/server/Socks/MasterUdpClient.cs
Malloc of Kuzkycyziklistan adb6c87a83 joey jojo junior shabadoo
that's the worst name i've ever heard
2017-08-28 16:15:10 -05:00

23 lines
525 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace SockScape.Socks {
class MasterUdpClient {
private static UdpClient Sock;
private static bool IsOpen;
public static void Initialize() {
if(IsOpen)
return;
short port = (short) Configuration.General["Master Port"];
Sock = new UdpClient(port);
IsOpen = true;
}
}
}