Jump to content

server query


Recommended Posts

hello peole i'm trying to send this to a server :

FF FF FF FF 54 53 6F 75 72 63 65 20 45 6E 67 69 ÿÿÿÿTSource Engi

6E 65 20 51 75 65 72 79 00 ne Query

but u just dunno what is wrong on my code.

here a little sample of my code now

UDPStartup()
#include <Array.au3>
$socket = udpopen("176.9.111.100", 29021)
;176.9.111.100:29021
If @error <> 0 Then
ConsoleWrite(@error)
Exit
EndIf
$teller=0
$henk=1
$teller +=1
$data = ""
$status = udpSend($socket, "ÿÿÿÿTSource Engine Query")
While 1
    $data = udpRecv($socket, 99999)
    If $data <> "" Then
        ConsoleWrite($data & @CRLF)
  exit
    EndIf
WEnd
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...