Jazz Soft お問い合わせ   JazzSoft@live.com     日本語   英語  日本語  中国語(繁体字)  中国語(簡体字)
工場自動化と歩留り管理ソリューション 
Skip Navigation Linksホーム > 製品一覧 > Savoy > Savoy Socket リファレンス > プロパティ > IPAddress

Jazz Softは2024年、日本からニューヨークに移転しました。
これに伴い、2025年4月1日より日本円での価格が変わり、為替レートに基づいて米ドル価格から決定されます。現在1ドル150円前後なため、値上がりになる可能性が高いです。ご注文を予定されている方は、2025年3月31日までにご注文・入金お願いいたします。
4月1日以降も日本のJazz Softよりご購入は可能です。米国Jazz Softからのご購入も可能ですが、支払い通貨は米ドルとなります。その代わり輸入となりますので消費税がかかりません。

Savoy Socket リファレンス   

プロパティ
Appearance
BorderStyle
Connect
IniFileName
IniSection
IPAddress
MyPortNumber
PortNumber
Server

メソッド
AboutBox
Disconnect
LoadIniFile
Send
Setup

イベント
Connected
Disconnected
Problem
Received

IPAddress Property

Gets or sets the IP address of passive entity computer for TCP/IP connection. IPAddress property will be ignored if the Server property is set to true, because server listens incoming connection.

When connecting local computer (same computer), use “127.0.0.1” or “” (empty) string.

It is possible to use computer name instead of IP address.

構文

Visual Basic

IPAddress As String


Visual C++

CString GetIPAddress()
void SetIPAddress(LPCTSTR)

戻り値

使用例

Visual Basic

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


Visual C++

m_ctrl.SetIPAddress("");
m_ctrl.SetPortNumber(5000);
m_ctrl.SetLocalPortNumber(0);
m_ctrl.SetServer(false);
m_ctrl.SetConnect(true); // Open
if(!m_ctrl.GetConnect())
  MessageBox("Cannot connect to server!");

特記事項

Persistent property.

参照

お問い合わせ   JazzSoft@live.com
  Copyright © 1997 - 2025 Jazz Soft, Inc.