On Wed, Nov 10, 2010 at 01:26:58PM +0100, Ulrich Block wrote:
> That is why I asked for a programm that allows me to send querys I wrote 
> to the ip:port I like.

Any library that implements the protocol should allow you to do that.

Crude example written in Python using SourceLib.

----
from SourceLib import SourceQuery

server='1.2.3.4'
port=12345

info = SourceQuery.SourceQuery(server, port).info()

if port == info['port']:
    print "This is a gameserver..."

elif port == info['specport']:
    print "This is a sourcetv..."
----

Regards
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