This is for vb.net but I would assume the send and receive would be similar for PHP.

Please note this code is not made by me.

' Create a byte array to send as a datagram to the server (&HFF&HFF&HFF&HFFTSource Engine Query&H0).
        Dim sendDatagram() As Byte = {&HFF, &HFF, &HFF, &HFF, &H54, &H53, &H6F, &H75, &H72, &H63, &H65, &H20, &H45, &H6E, &H67, &H69, &H6E, &H65, &H20, &H51, &H75, &H65, &H72, &H79, &H0}

This is for vb.net

On 8/21/05, Roberth Ahl <[EMAIL PROTECTED]> wrote:
Hi !
I have done some programming in php with sockets to make people to bee able to see te servers online on a web page. But when they updated the servers resently it dident work any more. I have been using the new way to get requests and things. So is there a thing that is new in the update on the newest updates for the udp checking system ?
If some one know's any great site or help for this, it would make me very happy.
 
Many Thanks Roberth Ahl (Sweden)



--
- Ben Davison
- http://www.shadow-phoenix.com

Reply via email to