
Srv.Bind(new IPEndPoint(IPAddress.Any, 8000)) Socket srv = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp) SerialPort sp = new SerialPort("COM4", 19200, Parity.None, 8, StopBits.One)

So I need a program that would open the serial port and accept multiple TCP connections like: class Program What would be a simple design pattern for sharing a COM port over TCP to multiple clients?įor example, a local GPS device that could transmit co-ordinates to remote hosts in realtime.
