SYMPTOMS
In Microsoft Visual Studio .NET 2002, the .NET
Socket class has a LocalEndPoint property that is represented by an IP
address and a port number to which the socket is bound. The LocalEndPoint
property is set for a socket object under the following scenarios:
- When a socket object calls bind on the server side.
- When a new socket object is returned from an accept call on the server side.
- When your socket object calls connect on the client side.
However, the new socket object that is returned from an
accept call (second bulleted item in the preceding list) may not have
its LocalEndPoint property set correctly. Instead, the LocalEndPoint property
may have its value set to null.