Chris,
That is what I had to do (see bottom of original message). The problem is that I receive the IP address in the form of a byte array and found it odd that I have to translate from a byte array into a string before I can create my IPAddress object.
Einar
>Einar,
>
>If you still can't get it to work, try this:
>
>
>System.Net.IPAddress IP = System.Net.IPAddress.Parse("127.0.0.1");
>
>
>>I can't figure out why this code throws an error:
>>
>>System.Byte[] ba = {127,0,0,1};
>>System.Net.IPAddress ip = new System.Net.IPAddress(ba);
>>
>>Einar
Semper ubi sub ubi.