
クライアントターミナルとサーバー間の接続状態をチェックします。
IsConnected
関数書式
bool IsConnected();- 引数
なし
- 戻り値
サーバーへの接続が正常に確立している場合はtrueを返します。
それ以外はfalseを返します。
- その他
なし
- サンプルソース
#property strict
void OnInit() {
if ( isConnected() ){
Print( "接続OK" );
} else {
Print( "接続NG" );
}
}