[Help] Reading info from game port
when a game offers a certain port to attain information from, such as kills/deaths, etc. how would you go about actually reading and logging such information?
it's a UDP socket.
i've successfully connected to the server ip/port but i just don't know how to read the info it sends through it.
could anyone offer some helpful tips?
thanks
[387 byte] By [
DarkLotus] at [2007-11-20 11:36:14]

# 1 Re: [Help] Reading info from game port
That completly depends on the game, you need to know what format this data will be exposed on that port, without that it's just garbage data for you. If you are just looking for method to read data on UDP port, look for recvfrom/WSARecvFrom, sendto/WSASendTo funcitons in MSDN.