From 22c4f50b37833e8b864b177e20b2e05fcf45b156 Mon Sep 17 00:00:00 2001 From: ruri Date: Mon, 20 May 2019 20:47:15 +0200 Subject: [PATCH] Added TCP WaitForHello on Connect. --- OpenBullet/LSDoc.xml | 2 +- .../Pages/StackerBlocks/PageBlockTCP.xaml | 3 +- RuriLib/Blocks/BlockTCP.cs | 30 ++++++++++++------- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/OpenBullet/LSDoc.xml b/OpenBullet/LSDoc.xml index 6875069..4bcc3be 100644 --- a/OpenBullet/LSDoc.xml +++ b/OpenBullet/LSDoc.xml @@ -368,7 +368,7 @@ Syntax: TCP COMMAND [ARGUMENTS] Allowed Commands: -CONNECT "HOST" "PORT" [UseSSL?] [-> VAR/CAP "NAME"] +CONNECT "HOST" "PORT" [UseSSL?] [WaitForHello?] [-> VAR/CAP "NAME"] SEND "MESSAGE" [WebSocket?] [-> VAR/CAP "NAME"] DISCONNECT diff --git a/OpenBullet/Pages/StackerBlocks/PageBlockTCP.xaml b/OpenBullet/Pages/StackerBlocks/PageBlockTCP.xaml index 5e3d8a0..112fa8e 100644 --- a/OpenBullet/Pages/StackerBlocks/PageBlockTCP.xaml +++ b/OpenBullet/Pages/StackerBlocks/PageBlockTCP.xaml @@ -47,7 +47,8 @@