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

Savoy HSMS Reference   

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

PortNumber Property

Gets or sets the port number for TCP/IP 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

PortNumber As Long


Visual C++

long GetPortNumber()
void SetPortNumber(long)

Return Value

Example

Visual Basic

.PortNumber = 5000


Visual C++

m_ctrl.SetPortNumber(5000);

Remarks

Persistent property.

See Also

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