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

Reply via email to