Jazz Soft お問い合わせ   JazzSoft@live.com     日本語   英語  日本語  中国語(繁体字)  中国語(簡体字)
工場自動化と歩留り管理ソリューション 
Skip Navigation Linksホーム > 製品一覧 > Savoy > Savoy GEM リファレンス > プロパティ > MyPortNumber

Savoy GEM リファレンス   

プロパティ
ALCD
ALIDCount
ALTX
Appearance
BorderStyle
CEIDCount
CEIDDescription
CommunicationState
ControlState
ControlStateSwitch
DataBakCount
DataFileName
DeviceID
DiscardDuplicatedBlock
Function
Host
IniFileName
IPAddress
Log
LogBakCount
LogCommunication
LogFileName
LogicalConnection
LogSize
Msg
MyPortNumber
Node
NodeCount
NodeType
NodeValue
NodeValueHex
OfflineRequest
OnlineRequest
Reply
PhysicalConnection
PortNumber
PType
Server
SessionID
SML
Stream
SType
SystemBytes
T1
T2
T3
T4
T5
T6
T7
T8
Verification
VIDCount
VIDDefault
VIDDescription
VIDMax
VIDMin
VIDNodeType
VIDRawValue
VIDType
VIDUnit
VIDValue
ViewStyle
Wbit
WorkSpace

メソッド
AboutBox
DefProc
InvokeAlarm
InvokeEvent
IsValidVID
LoadData
LoadIniFile
RegisterALID
RegisterVID
SaveData
Send
Setup
ToALID
ToCEID
ToVID
UnregisterALID
UnregisterVID
WriteLogFile

イベント
CommunicationStateChanged
Connected
ConnectionStateChanged
ControlStateChanged
Disconnected
Problem
Received
Sent
VIDChanged

MyPortNumber Property

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

When SavoyGem 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.

構文

Visual Basic

MyPortNumber As Long


Visual C++

long GetMyPortNumber()
void SetMyPortNumber(long)

戻り値

使用例

Visual Basic

.MyPortNumber = 0 ‘ Auto determine


Visual C++

m_ctrl.SetMyPortNumber(0); // Auto determine

特記事項

Persistent property.

参照

お問い合わせ   JazzSoft@live.com
  Copyright © 1997 - 2018 Jazz Soft, Inc.