LocalPort Property

The UDP port in the local host where the component binds.

Syntax

public int LocalPort { get; set; }
Public Property LocalPort As Integer

Default Value

0

Remarks

This property specifies which UDP port in the local host the component should bind to when Active is set to True.

If this property is 0 (default), the system will choose a port at random. The chosen port will be reflected by this property after setting Active to True.

This property cannot be changed while Active is True; attempting to do so will generate an error.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks P2P 2020 .NET Edition - Version 20.0 [Build 8235]