Hello,

Perhaps my question would be better served by another list - if so, can you 
kindly point me to a more appropriate place, please?

I am working on a C# app to communicate with other machines on my local 
network. Each host machine is running a small C++ application (on embeddedXP) 
and is waiting to be contacted and then controlled by me.  My connections 
involve several NET objects - the main one being the 'Socket' class.
 
I create these Socket objects currently all with the same port number.  
Apparently (and obviously?), I can't create multiple socket objects that use 
the same port number with different IP addresses.  So I intend to choose from a 
range of port numbers to open up any Socket objects I need.  

Being new to trying to effect this type of communication, I do not know how the 
port for the Socket I open in my C# app (eg, 6001) relates to the port that is 
opened on the host application (the code for which I can't review at this 
time).  What else do I need to be aware of concerning the port numbers I use 
with the Socket objects I create, please?

Peter

Reply via email to