Guest User

Untitled

a guest
Jan 23rd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.23 KB | None | 0 0
  1. ;Server
  2. TCPStartup()
  3. $MainSocket = TCPListen("127.0.0.1", 25565)
  4. While 1
  5.     Local $ConnectedSocket = TCPAccept($MainSocket)
  6.     If $ConnectedSocket >= 0 Then
  7.         MsgBox(0, "", "Mein Server - Client verbunden")
  8.         Exit
  9.     EndIf
  10. WEnd
Add Comment
Please, Sign In to add comment