Rev 460 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 460 | Rev 461 | ||
|---|---|---|---|
| Line 70... | Line 70... | ||
| 70 | Connection newconn = new Connection(handler); |
70 | Connection newconn = new Connection(handler); |
| 71 | clients.Add(newconn); |
71 | clients.Add(newconn); |
| 72 | Thread t = new Thread(newconn.thread); |
72 | Thread t = new Thread(newconn.thread); |
| 73 | t.Start(); |
73 | t.Start(); |
| 74 | EndPoint ipend = handler.Client.RemoteEndPoint; |
74 | EndPoint ipend = handler.Client.RemoteEndPoint; |
| 75 | string sipend = ipend.ToString(); |
- | |
| 76 | //string sipend = IPAddress.Parse(handler.Client.RemoteEndPoint.Address.ToString()); |
- | |
| 77 | if (DEBUG_LEVEL>1) { Console.WriteLine("Client {0} connected on port {1}" |
75 | if (DEBUG_LEVEL>1) { Console.WriteLine("Client {0} connected on port {1}",ipend.ToString() ,port); } |
| 78 | } |
76 | } |
| 79 | } |
77 | } |
| 80 | } |
78 | } |
| 81 | 79 | ||
| 82 | public void stop() { |
80 | public void stop() { |