You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
649 B
C#
27 lines
649 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Net;
|
|
using System.Net.Sockets;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BirdyFlash.Lib {
|
|
class TCPConnectionManager {
|
|
|
|
private static TCPConnectionManager _instance;
|
|
public static TCPConnectionManager instance {
|
|
get {
|
|
if (_instance == null)
|
|
_instance = new TCPConnectionManager();
|
|
return _instance;
|
|
}
|
|
}
|
|
|
|
public Dictionary<string, TcpClient> clients;
|
|
public TCPConnectionManager() {
|
|
|
|
}
|
|
}
|
|
}
|