• Welcome to Valhalla Legends Archive.
 

Error

Started by BaDDBLooD, February 17, 2005, 11:47 PM

Previous topic - Next topic

BaDDBLooD

Array.Copy(AddressToBytes(remoteEP.Address.Address), 0, connect, 4, 4);

Gives me the error:

'System.Net.IpAddress' is Obsolete: 'IPAddress.Address is Address Family Dependent, use Equals method for comparison.'

Thanks
There are only two kinds of people who are really fascinating: people who know absolutely everything, and people who know absolutely nothing.

MyndFyre

Well you silly!  Just use the GetAddressBytes method of the IPAddress class.  Then you have a byte array that you can use in the constructor.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.