Jazz Soft Contact us?   JazzSoft@live.com     English   English  Japanese  Chinese (Traditional)  Chinese (Simlified)
Factory Automation & Yield Management Solution Provider 
Skip Navigation LinksHome > Products > bop > bop Reference > LocalPortNumber

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

bop Reference   

Properties
ALIDCode
ALIDCount
ALIDDescription
CEIDCount
CEIDDescription
Communication
ControlState
ControlStateSwitch
DeviceID
DiscardDuplicatedBlock
Function
HexDump
Host
IniFile
IPAddress
LocalPortNumber
LogFileBakCount
LogFileEnable
LogFileEnableCommunication
LogFileName
LogFileSize
LogicalConnection
LogicalConnectionFileName
Node
NodeCount
NodeType
NodeValue
NodeValueHex
OfflineRequest
OnlineRequest
PassiveEntity
PhysicalConnection
PortNumber
PType
Reply
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
WaitBit
WorkSpace

Methods
Configure
DefProc
IndexToALID
IndexToCEID
IndexToVID
InvokeAlarm
InvokeEvent
IsValidVID
Load
LoadIniFile
RegisterALID
RegisterVID
Save
Send
UnregisterALID
UnregisterVID
WriteToLogFile

Events
CommunicationStateChanged
Connected
ConnectionStateChanged
ControlStateChanged
Errors
Received
Sent
VIDChanged

LocalPortNumber Property

Local port number. In the case of a passive entity, this is a public port number with respect to the client.

In the case of an active entity, this is normally specified as 0. When 0 is specified, an open port will automatically be selected. When something other than 0 is specified, it cannot connect unless that particular port number is open. In Windows, even if connection is broken, for a short while (several minutes) that port number is still appropriated. Please note that for this reason, if something other than 0 is specified, connection will not be possible for several minutes.

PropertyPassiveActive
IPAddress PropertyNot requiredRequired
PortNumber PropertyNot requiredRequired
LocalPortNumber PropertyRequiredRequired (Normally 0)

Syntax

Visual Basic

LocalPortNumber As Long


Visual C++

long GetLocalPortNumber();
void SetLocalPortNumber(long lNewValue);

Return Value

Example

Remarks

See Also

IPAddress Property
PortNumber Property

Contact us?   JazzSoft@live.com
  Copyright © 1997 - 2024 Jazz Soft, Inc.