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

Swing HSMS 详细资料   

Properties
Active
Appearance
BorderStyle
IniFile
IniSection
IPAddress
LocalPortNumber
Log
LogFile
MaxLength
PortNumber
Selected
Server
Show
T3
T5
T6
T7
T8

Methods
Config
ConvertIPAddress
Disconnect
GetHostName
LoadIni
Send

Events
Connected
Errors
Read
SelConnection

IPAddress Property

Specify IP address to connect to. It is possible to set IPAddress Property decimal number of IP address or computer name (host name). If server is running on the same computer, it is possible to specify IPAddress Property as "" (empty).

Syntax

Visual Basic



Visual C++


Return Value

Example

Visual Basic

.IPAddress = ""
.PortNumber = 5000
.LocalPortNumber = 0
.Server = False
.Active = True ‘ Open
If Not .Active then
MsgBox "Cannot connect to server!"
End If


Visual C++

m_hsms.SetIPAddress("");
m_hsms.SetPortNumber(5000);
m_hsms.SetLocalPortNumber(0);
m_hsms.SetServer(false);
m_hsms.SetActive(true); // Open
if(!m_hsms.GetActive())
MessageBox("Cannot connect to server!");

Remarks

See Also

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