>
>How can I get the IP address of machine running the program if I do want to bind?
We used a configuration file to tell the service what the port and IP address are that we are connecting to. You have to know these before you can connect to a machine. The local IP address was fed to the program via the configuration file but the port was assigned dynamicaly on our end so that .net could manage the sockets for us. This allowed us to have multiple sockets running from the same service in different threads.
HTH
Bruce Carpenter
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement