SocketTools .NET Edition

SocketWrench.LocalAddress Property

Gets and sets the local Internet address that the socket will be bound to.

[Visual Basic]
Public Property LocalAddress As String
[C#]
public string LocalAddress {get; set;}

Property Value

A string which specifies an Internet address in dotted notation.

Remarks

The LocalAddress property is used to specify the local Internet address that the socket will be bound to when a connection is established with a remote host. By default this property is not assigned a value, which specifies that the socket should be bound to any appropriate network interface on the local system.

See Also

SocketWrench Class | SocketTools Namespace