static void Main(string[] args) { TCPReceiver tcpReceiver = new TCPReceiver("127.0.0.1", 1000); //TCPUtillity util = new TCPUtillity(); Console.Read(); tcpReceiver.receive(); }
static void Main(string[] args) { TCPReceiver soc = new TCPReceiver("127.0.0.1", 1000); TCPUtillity utillity = new TCPUtillity(); Console.Read(); utillity.TCPSend(soc.networkStream, "hej med jer"); }