M
Mark
I am working on a Windows service application that will listen on multiple IPs and ports e.g. port 25, 110 etc. As far as I could see the EndPoint only contains one IP and a port. How is it possible to listen on multiple IPs and multiple ports of an IP? Would there be separate socket for each combination of IP and ports?
Also, what is the best way for coding a listener -- an indefinite loop, or there could be any other better way to do this?
Thanks in advance.
Also, what is the best way for coding a listener -- an indefinite loop, or there could be any other better way to do this?
Thanks in advance.