Hello i´m trying to make a application that can communicate with a Control4 director.
They Way it works is like this.
My application connects to the Control4 director on port 5020 and send a command "enable events" wich makes the control4 unit send me any events that occurs to my local port that was oppened by the tcpclient (ex 54798) then i have tried to use a tcplistener to listen to all traffic sent by the control4unit. then if a where to send data again the localport changes. but i would like to keep listening on the same localport.
Dont know if this make sense but to simplify.
Send data to port 5020
then listen to the port autochossen by the tcpclient.
thereafter bieng able to send how many commands on port 5020 and still listen on the first autoselected port.
You need to use an IPEndPoint to define the port you intend to send and receive from. You need to construct the IPEndPoint, then pass it as the only parameter to the TCPClient constructor.
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity)
There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users. DHCP dynamically manages this process, much to the relief of users and administrators alike!