I read the page a couple of times before i wrote the mail here.
But the page does not answer the simpel question how to send the queries.
They only explain what a query should contain and how to read the reply.
I am working out of the linux shell. All I need is a name of a programm
that allows me to send the query.
ping does not work. So what else to use.
Am 09.11.2010 16:32, schrieb frostschutz:
On Tue, Nov 09, 2010 at 03:45:26PM +0100, Ulrich Block wrote:
As the topic says: Is it possible to identify from an other pc/server if
the entered ip:port is a game or a tv server?
You can send A2S_INFO query to the server
http://developer.valvesoftware.com/wiki/Server_queries#A2S_INFO
Games that support it will include port numbers for game server
and TV server in the reply. To determine whether you're talking
to the game or tv server, compare those port numbers with the
one you have.
So not only you can determine whether it's a TV or not, you can
silently / automatically switch to the game server port without
asking the user to re enter the correct port number.
Hope this helps
frostschutz
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux