Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace jM2
- {
- class Program
- {
- static void Main(string[] args)
- {
- Server myServer = new Server("192.168.0.10", 43444);
- myServer.Start();
- while (true)
- {
- Console.Write("> ");
- switch (Console.ReadLine())
- {
- case "connections":
- myServer.Connections();
- break;
- case "exit":
- Environment.Exit(0);
- break;
- default:
- continue;
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement