Readonly idSocket ID ソケットID
Treat received data as string (UTF-8)
受信データを文字列(UTF-8)として扱う
Write the socket settings and open the socket (Connect / Listen is also executed for TCP)
ソケット設定の書き込みをし、ソケットをOpenに(TCPの時はConnect/Listenも実行)
Socket config ソケットの設定内容
Write result 書き込み結果
Send command コマンドを送信
Command コマンド
Write result 書き込み結果
Set a handler to catch all interrupts
Run checkInterruptWait() regularly to actually catch
全ての割り込みをキャッチするハンドラーを設定
実際にキャッチするにはcheckInterrupt()を定期的に実行
Callback function, name is the type of interrupt, extra is only when name=ReceiveData and when name=ConnectSuccess and protocol=TCPServer
コールバック関数、nameは割り込みの種類、extraはname=ReceiveDataの時とname=ConnectSuccessかつprotocol=TCPServerの時のみ
Optional extra: string | number[] | DestInfoOptional extra: string | number[] | DestInfoSet a handler to catch a specific interrupt
Run checkInterruptWait() regularly to actually catch
特定の割り込みをキャッチするハンドラーを設定
実際にキャッチするにはcheckInterrupt()を定期的に実行
The name of the interrupt to get 取得する割り込みの名前 (SendOK | Timeout | ReceiveData | Disconnect | ConnectSuccess)
Callback function, extra is only when name=ReceiveData and when name=ConnectSuccess and protocol=TCPServer
コールバック関数、extraはname=ReceiveDataの時とname=ConnectSuccessかつprotocol=TCPServerの時のみ
Set mode モードを設定
Multicast, BroardcastBlock, NoDelayACK, MulticastVer1, UnicastBlock and Protocol
Write result 書き込み結果
Set receive buffer size 受信バッファサイズを設定
Buffer size (KB) only to the power of 2, up to 16
バッファサイズ(KB) 2の累乗のみ、16まで
Write result 書き込み結果
Set send buffer size 送信バッファサイズを設定
Buffer size (KB) only to the power of 2, up to 16
バッファサイズ(KB) 2の累乗のみ、16まで
Write result 書き込み結果
Generated using TypeDoc
Class that performs and manages socket communication
ソケット通信を行い管理するクラス