Converting IPAdress from String to Long

ThePentiumGuy

Senior Contributor
Joined
May 21, 2003
Messages
1,113
Location
Boston, Massachusetts
This has been pissing me off since 3 days ago.... why does .NET bithc when you do:

Dim EndPoint as new IPEndPoint("127.0.0.1", portnumber)

It says cannot convert String to Long :), and understandably so. Now howabout a workaround on this dillemma :p.

-The Pentium Guy
 
Helped a lot. Thanks. I got some primative client-server action going on ("Open forum chat" - it's all just StreamReader/StreamWriter and it works locally (I don't have internet on my computer so I can't test remote chat)).

Thanks,
-TPG
 
Back
Top