// Using the LocalEndPoint property.
Console.WriteLine("My local IpAddress is :" + IPAddress.Parse(((IPEndPoint)s.LocalEndPoint).Address.ToString()) +
"I am connected on port number " + ((IPEndPoint)s.LocalEndPoint).Port.ToString());
Hmm, it seems to be that way for a lot of people. You just have to think of keywords. In this case, looking up Socket in the index will give you everything that you need. I think that it should be a similar process in VB .NET as in C#. Good luck
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.