When will I normally need different ports for client-server communication? (This question is for C# and general socket programming).
Assume I have simple protocol implemented over TCP, where each message is made up of: An int indicating data length.
I want to know how to communicate between two systems using only MAC address using C program (without using IP address). I think this is raw ethernet communication. My requirement is to send data from
I\'ve googled far and wide and found no answer to this. I am programming my own little Tcp library to make it easy for myself. On the server I have a \'ConnectedClient\' object that has a socket and a
I am trying to interface an ancient network camera to my computer and I am stuck at a very fundamental problem -- detecting the end of stream.
I am writing a parser in C#. It receives and sends a packet with max length = 100. However, the time between (receiving and sending) after each packet is more than 2 seconds. I don\'t know whether it
Is the NetworkStream class, not included in the Mango SDK? It doesn\'t seem to be in the System.Net assembly but maybe it is somewhere else.
I want to use NetworkStream (or maybe Socket) to read/write TCP connections. I want to use non-blocking operations so that I don\'t have to deal with several threads, or deal with the issue of how to
I have rather class using TcpClient that spins of a Thread doing while (!streamReader.EndOfStream) {} on the NetworkStream. As long as the TCP connection is open and there is no available data to read
I got a server that is managing two clients through NetworkStream.Read. Application protocol is: ClientMessage [128 Bytes] → Response from Server [128 Bytes]