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

Savoy Socket 详细资料   

Properties
Appearance
BorderStyle
Connect
IniFileName
IniSection
IPAddress
MyPortNumber
PortNumber
Server

Methods
AboutBox
Disconnect
LoadIniFile
Send
Setup

Events
Connected
Disconnected
Problem
Received

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

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