[quote]In order to send AND receive TCP messages between pc and Fez Cobra, I need a TCPClient and a TCPListener on both pc and cobra, right?
I think Gus and I differ on this question. :’(
A TCPClient initiates a call to a TCPListener. The TCPListener, which had an outstanding Accept method, returns a new socket through which communications can be done with the TCPClient socket. The communications can go both ways over the sockets.
This architecture is called client/server.
Only the side that receives an incoming connection needs a TCPListener. In most applications, this is only one of the sides.
So, if you application has a program on a PC which needs to get to a FEZ every few minutes to pick up data, then the PC would only need a client and the FEZ would need a listener.
I guess you could have an application where both sides need to initiate the session/connection, and in this case, both sides would need a listener and a client.
So… my answer is “in most cases no”