[email protected] (Alfred M. Szmidt) writes: > I've been quite annoyed over how one does sockets on unixoid system > for sometimes, specially with all the idiosyncrasies of IPv4 vs. IPv6.
In what way? If you use getaddrinfo properly, you don't have to care a lot about IPv4 or IPv6 differences in my experiences. There is a lot of code in InetUtils that uses old network coding habits though. > Plan 9 has a quite nice API that is very much agnostic when it comes > to IPv6, IPv4, ICMP, UDP, TCP, ... etc. Now, I haven't used it at > all, and maybe it is not flexible enough for our purpose. Here is > what a basic ping might look like, Personally, I prefer POSIX standard here since people are more familiar with it. Further, I would want to know how portably you could implement the Plan 9 interface before deciding. If you can't do it portably (i.e., assume POSIX but no more), I think it is a bad idea. /Simon
