Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2004

Tip: Looking for answers? Try searching our database.

IPAddress.Parse for IPv6

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ben - 31 Mar 2004 18:31 GMT
Hi all

I want to parse a multicast address string into an object of type IPAddress

So i use the IPAddress.Parse(string theIPAddress) method

It works fine with 224.5.6.7, pure IPv
It throws an exception, saying that the provided address has an incorrect format, when I pass in the string
("2002:e005:607::1/48"
o
("2002:e005:607::1/48"

Or pretty much anything ive tried already

Thank you for advices

Ben
mikeb - 31 Mar 2004 20:40 GMT
> Hi all,
>
[quoted text clipped - 9 lines]
>
> Or pretty much anything ive tried already.

I believe that you must have the IPv6 protocol installed on the machine
for it to work (this is a Winsock requirement).

Also, IPAddress.Parse (which is built on WSAStringToAddress()) does not
deal with subnet masks, so you need to drop the "/14" from the end of
the address.

Signature

mikeb


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.