The TCP Listener project is starting to gel. And one of the things I did was to find some code which will determine the IP address of the client sending in the stream. I could swear that this worked yesterday.
But today it's assigning the IP address of the machine which my TCP Listener is running on instead of the IP address of the client sending in the data. I really thought I saw this work successfully yesterday. Am I on drugs or what?
Code:
Dim ipend = System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName()).AddressList(0).ToString()