I am having a certain problem. I am sure there is a simple soln but nothing comes to mind. I am using C#. I need to do a DNS query for URL specified by user. But urls can be complicated like http://msdn.microsoft.com/fgeskjfwejk/jkfkwjf.aspx?jkglrjgkw etc etc. I am just learning C# here before I start DirectX. Anywyas... But DNS query cannot be performed on it directly. So how do I strip it off the non-essential parts? Is there a simple approach to it? TIA. ======================= The Dude next door. -- ---------------------------------------------- Posted with NewsLeecher v3.0 Final * Binary Usenet Leeching Made Easy * http://www.newsleecher.com/?usenet ----------------------------------------------
theguy@nextdoor.com.us wrote: > I am having a certain problem. I am sure there is a simple soln but > nothing comes to mind. I am using C#. I need to do a DNS query for > URL specified by user. But urls can be complicated like > http://msdn.microsoft.com/fgeskjfwejk/jkfkwjf.aspx?jkglrjgkw etc > etc. I am just learning C# here before I start DirectX. > Anywyas... > But DNS query cannot be performed on it directly. So how do I strip > it off the non-essential parts? Is there a simple approach to it? And your DirectPlay question is what? Sorry, but this question is off topic, and the solution only requires a simple understanding of URLs and parsing. -- Phil Frisbie, Jr. Hawk Software http://www.hawksoft.com
Yeah I figured out the parsing once I had a good sleep and some coffee. Mental Block... i guess. Bout the directplay? I dint ask specifically for directplay, In fact I did not specifcally mention directplay. And that reply did not answer my doubt. Please bear with me because I am new to directx. The thing is, if you need your game clients to be using directx then we will be using directplay for networking. Does that mean directx enabled games cannot have non-windows dedicated server at all? Or is their a workaround. I am designing a simple game with very-simple graphics and mainly AI to learn DirectX. But i'll need to have a decicated server to report progress and send messages to game clients. The server will not have any graphics, just send messages to game clients. Or should I stick to directX for the Server also. I am asking this because i havent started on the directplay, but will be getting there soon. I am sorry if I sound totally dumb here. ======================= The Dude next door. -- ---------------------------------------------- Posted with NewsLeecher v3.0 Final * Binary Usenet Leeching Made Easy * http://www.newsleecher.com/?usenet ----------------------------------------------
theguy@nextdoor.com.us wrote: > Yeah I figured out the parsing once I had a good sleep and some > coffee. Mental Block... i guess. > Bout the directplay? > I dint ask specifically for directplay, In fact I did not > specifcally mention directplay. And that reply did not answer my > doubt. Please bear with me because I am new to directx. > The thing is, if you need your game clients to be using directx then > we will be using directplay for networking. Does that mean directx > enabled games cannot have non-windows dedicated server at all? DirectPlay is only available for Windows. That is one of the main reasons major games have never used it. -- Phil Frisbie, Jr. Hawk Software http://www.hawksoft.com
If they don't use directplay what do they use? Thanks for helping :) ======================= The Dude next door. -- ---------------------------------------------- Posted with NewsLeecher v3.0 Final * Binary Usenet Leeching Made Easy * http://www.newsleecher.com/?usenet ----------------------------------------------
theguy@nextdoor.com.us wrote: > If they don't use directplay what do they use? They use sockets directly, or they use a portable socket wrapper. I have a socket library that is being used in some non-commercial games. -- Phil Frisbie, Jr. Hawk Software http://www.hawksoft.com
Oh ok, Thanks anyways. I'll see what I can do with what I got. ======================= The Dude next door. -- ---------------------------------------------- Posted with NewsLeecher v3.0 Final * Binary Usenet Leeching Made Easy * http://www.newsleecher.com/?usenet ----------------------------------------------