FirstClassトップページ


 ヘルプの目次
このヘルプについて このヘルプについて
 
エンドユーザ向けヘルプ エンドユーザ向けヘルプ
Client Help クライアントヘルプ
Web Help Webアクセスヘルプ
ScreenReader Help スクリーンリーダ
Form フォーム
Synchronization 同期
Definitions 用語
container コンテナ
 
管理者向けヘルプ 管理者向けヘルプ
Administration サーバの管理
Internet Services インターネットサービス
Customization Tools カスタマイズツール(英語)
Administering OTSW OTSWの管理
OTSW Custodian OTSW Custodian
Using FirstClass ED FirstClass ED(英語)
 
バナー:
 
 Socket.Connect
ホーム • Customization Tools • FCAS • Language Reference • Socket.Connect
 
Purpose
Opens an Internet socket connection to a remote host in order to exchange data over a TCP/IP port.
Syntax
Socket.Connect (HostName, Port, Timeout)


HostName
The DNS name of the remote host. This name is resolved to the proper IP address.
Port
The TCP/IP port on the remote host (for example, 80 for HTTP, 23 for telnet).
Timeout
The time (in seconds) to wait for a connection before deciding that the remote host isn't responding.
The application will pause until the connection is established, but will allow other application and FirstClass client activity to continue normally.
If the connection fails due to a network error or timeout, an error is triggered.

Example
Dim sockme as Socket
sockme.Connect (RemoteHost, 80, 60)

 

Copyright(C) 2002-2012 FC Management Co. All Rights Reserved<