Needs Error Checking

Apr 18, 2010 at 7:21 AM
For example, if you are a client trying to connect to a server, but the server doesn't answer. The way the code is written it fails. No Try...Catch. Maybe the Connect Method of the NetBaseClient should be a Boolean function returning True if it connected and False if it doesn't?
Apr 18, 2010 at 3:33 PM

I will look into this. I think adding additional Connect methods would be good, for example TryConnect(...), which could return a bool.

I do however already provide a utility class (NetUtility.cs) that contains helper methods for pinging severs, maybe this will help you in the mean time.

Apr 26, 2010 at 7:55 PM

A TryConnect method has been added to clients now!