Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static bool Shutdown = false;
- public static List<string> temppacket;
- public static string[] packetstoprocess;
- public void PacketHandlerStart()
- {
- }
- public static void AddPacket(string PacketToAdd)
- {
- temppacket.Add(PacketToAdd);
- packetstoprocess = temppacket.ToArray();
- }
- public static void PacketHandling()
- {
- while (Shutdown == false)
- {
- try
- {
- string packet;
- packet = packetstoprocess[1];
- Console.WriteLine(packet);
- }
- catch { }
- }
- }
Add Comment
Please, Sign In to add comment