Savoy Socket Reference
Properties
Appearance
BorderStyle
Connect
IniFileName
IniSection
IPAddress
MyPortNumber
PortNumber
Server
Methods
AboutBox
Disconnect
LoadIniFile
Send
Setup
Events
Connected
Disconnected
Problem
Received
|
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
|
long GetPortNumber()
void SetPortNumber(long)
|
Return Value
Example
|
m_ctrl.SetPortNumber(5000);
|
Remarks
Persistent property.
See Also
|
|