hi all anyone knows why i can't but 2 thing in one loop ?
i tried to make 2 while loops but the first one is the only running one.
here is the code:
AutoIt
#include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 615, 237) GUISetState(@SW_SHOW) #endregion ### END Koda GUI section ### TCPStartup() $TCPListen = TCPListen(@IPAddress1, 403) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch Do $TCPAccept = TCPAccept($TCPListen) Until $TCPAccept <> -1 Do $TCPRecive = TCPRecv($TCPAccept, 1000000) Until $TCPRecive <> "" MsgBox(0, "hi", $TCPRecive) WEnd
any ideas ?