Hello ,
First of all excuse for my “noob” question however development 🙂 is not my strongest skill.
I have managed to build a WPF server using networkcomms library and at the moment if I build client with use of NetworkComms he connects perfectly fine and I can see his messages coming in.
However if I have clients that try to connect using sockets (for example a powershell script)
$socket2 = new-object System.Net.Sockets.TcpClient("localhost",6789)
$stream2 = $socket2.GetStream()
$writer2 = new-object System.IO.StreamWriter $stream2
$writer2.WriteLine("my name is Jerry123456")
$writer2.Flush()
and specyfing IP and port they seems not to connect. Also those clients would send byte[] as data (I have even adjusted the incoming packet handler to support this )
This is just an example as I plan to have clients on which I will have only control to specyfi only port and IP for TCP connection.
Therefore I would like to know is it possible to handle those clients with the use of NetworkComms library?