> I was wondering if anyone has any example code on sending a packet to
> a server (such as "info").  I read the server protocol.txt but i still am
not > sure what to do.  Any help on this topic would be nice.  I am trying
to get a > connection using winsock but am having problems sending the
message.  So all
> i need is someone to explain sending and recieving packets from a HL
server a > little bit better.
> -incase your wondering i am trying to make a program to get the servers
max
> clients which i will use in another program i am making....

Download the source code to my NetProbe project.  Included is 2 small C
programs, one that retrieves the list of server IPs and port numbers from
the WON master, and one that retrieves specific information from a server
(server name, current # of players, max # of players, current map, etc.)...

http://planethalflife.com/botman/netprobe.shtml

Jeffrey "botman" Broome

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to