Author | Message | Time |
---|---|---|
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 | February 18, 2005, 5:47 AM |
Myndfyr | 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. | February 18, 2005, 6:46 AM |