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.