On Thu, Oct 30, 2003 at 01:54:24AM -0500, Melvin Smith wrote: > Parrot fetched its first web page tonight. Its a baby step, but hey... :) > > You can now stuff hostnames into a socket as well as a numeric IP address. > > see examples/io/http.imc
Can we do IPv6?
(Not meant to be a throw away question. As I understand it many hostname functions were changed or tweaked for IPv6, and coping with it now is better than retrofitting it later)
Sorry for delay on response, just got to my email.
Yes, I intend to encapsulate IPv4 and IPv6 in the same API.
Some of the changes are pretty simple (like instead of using inet_addr, use inet_aton, etc.) while I'll not sure about the rest. It's been a while since I did any socket projects but its all coming back pretty fast. :)
Luckily I have a very nice C++ library that I wrote over the past few years so a lot of it will be cut and paste and a little rework.
-Melvin