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

Jazz Soft has been moved from Japan to New York in 2024.

Savoy HSMS 详细资料   

Properties
Appearance
BorderStyle
Connect
IniFileName
IniSection
IPAddress
Log
LogBakCount
LogFileName
LogSize
LogVerbose
MyHostName
MyPortNumber
PortNumber
Selected
Server
T3
T5
T6
T7
T8

Methods
AboutBox
Disconnect
LoadIniFile
Send
Setup
ToIPAddress

Events
Connected
Disconnected
Problem
Received
SelChanged

MyPortNumber Property

Gets or sets local portnumber for TCP/IP connection. If SavoyHsms is running as active entity, this property should be 0. Or connection will not be re-established until TCP/IP level time-out.

When SavoyHsms is running as passive entity, MyPortNumber property indicates server port number for incoming client connection.

Since some port numbers are reserved by Windows OS, the number should be grater than 1024 in general. For example http server uses port number 80.

Syntax

Visual Basic

MyPortNumber As Long


Visual C++

long GetMyPortNumber()
void SetMyPortNumber(long)

Return Value

Example

Visual Basic

.MyPortNumber = 0 ‘ Auto determine


Visual C++

m_ctrl.SetMyPortNumber(0); // Auto determine

Remarks

Persistent property.

See Also

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