Jazz Soft 您要联络吗?   JazzSoft@live.com     简体字汉语   英语  日语  繁体字汉语  简体字汉语
提供半导体工厂自动化与生产效率改善法 
Skip Navigation Links首页 > 产品一览 > Swing > Swing HSMS 详细资料 > Properties > PortNumber

Dorian.Core is added. Dorian now supports .NET 6 and 7.

Swing HSMS 详细资料   

Properties
Active
Appearance
BorderStyle
IniFile
IniSection
IPAddress
LocalPortNumber
Log
LogFile
MaxLength
PortNumber
Selected
Server
Show
T3
T5
T6
T7
T8

Methods
Config
ConvertIPAddress
Disconnect
GetHostName
LoadIni
Send

Events
Connected
Errors
Read
SelConnection

PortNumber Property

TCP port number. Server does not have to specify PortNumber Property but does local port number, however client must specify PortNumber Property. If you want server to determine free TCP port automatically, set LocalPortNumber to 0.

Before you use LocalPortNumber, you must check the number you want to use is not used by the other ‘well known port’ (like #80 for http server). Generally, it is recommended to use the number over 1024. This property is a persistent property.

Syntax

Visual Basic



Visual C++


Return Value

Example

Visual Basic

.PortNumber = 5000


Visual C++

m_hsms.SetPortNumber(5000);

Remarks

See Also

您要联络吗?   JazzSoft@live.com
  Copyright © 1997 - 2024 Jazz Soft, Inc.