views:

203

answers:

1

How does one go about reading and parsing server logs sent remotely from HLDS (Half-Life Dedicated Server)?

My understanding is that you can specify where the server delivers logs using the command log_address. After this, the server is supposed to deliver the logs via UDP.

How can I go about listening for these logs with either PHP or ASP.NET C#? I don't know if I'm supposed to be listening for incoming packets, or send a request to HLDS for packets. I've attempted to monitor my UDP connections using netstat -a, but cannot seem to figure this out.

Note: I would like to use a log_address implementation, as I cannot install any third-party mods on the server to assist with the logging process. I am also aware of HLSW and am not looking for a client-side application such as this.

Thank you.