Heyhoo,
also ich versuchn tS³ server via. tcpconnect voerst nur abzufragen.
aber egal was ich mache ich krieg imma n fail
#cs ----------------------------------------------------------------------------
[/autoit][autoit][/autoit][autoit]AutoIt Version: 3.3.4.0
Author: myName
Script Function:
Template AutoIt script.
#ce ----------------------------------------------------------------------------
[/autoit][autoit][/autoit][autoit]; Script Start - Add your code below here
[/autoit][autoit][/autoit][autoit][/autoit][autoit]#include <GUIConstantsEx.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <test.au3>
GUICreate("test", 250, 200)
GuicTrlcreatelabel("Server IP Adress:",10,45,120,25)
$IP = GUICtrlCreateInput("",100,40,120,25)
GuicTrlcreatelabel("Server Port:",10,75,120,25)
$Port = GUICtrlCreateInput("",100,70,120,25)
$Button1 = GUICtrlCreateButton("Connect",100,135,80,25)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $Button1
TCPStartup()
$socket = TCPConnect($iP,$Port)
if $socket = -1 then
msgbox(1,"fail","fail")
else
MsgBox(1,"erfolg","erfolg")
EndIf
Exit
EndSwitch
Wend
geht sowas überhaupt mitm ts?!?!
als TS könnter nehmen: $IP:193.192.59.26 $Port:9987
gruß
kev