Sign in to follow this  
Followers 0
yucatan

server query

1 post in this topic

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

Share this post


Link to post
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
Sign in to follow this  
Followers 0