|
What's wrong with that code?On runtime i'm receiving the following error "The requested address is not valid in its context."AFAIK i receive this error because the ip address is not valid for my computer,but that's my ip address converted to long value.Obviosly there is nothing wrong with the IPAddress constructor then.Can anyone help me with this?
IPAddress ip = new IPAddress(1407475549); IPEndPoint e = new IPEndPoint(ip,10); socket.Bind(e);
|