D
Dan
I'm attempting to write a program in C# (with Whidbey) that communicates
with Half-Life based servers via UDP to grab server info (hostname,
players connected, map, etc). I'm using the UdpClient class to do so as
of now, however once I send the query string
("\u00ff\u00ff\u00ff\u00ffinfostring\u0000") I seem to get no response
back (it's set to accept responses from any IP), thus freezing the
program. Any ideas? I think it may have to do with the port, does anyone
know how to convert a string-based IP to a long so I can use one of the
overloads of the IPEndPoint constructor to set any port? Thanks.
with Half-Life based servers via UDP to grab server info (hostname,
players connected, map, etc). I'm using the UdpClient class to do so as
of now, however once I send the query string
("\u00ff\u00ff\u00ff\u00ffinfostring\u0000") I seem to get no response
back (it's set to accept responses from any IP), thus freezing the
program. Any ideas? I think it may have to do with the port, does anyone
know how to convert a string-based IP to a long so I can use one of the
overloads of the IPEndPoint constructor to set any port? Thanks.