[M3devel] New Socket.[im]3? was: Re: sin_len?

Olaf Wagner wagner at elegosoft.com
Sun Aug 23 13:06:44 CEST 2009


Quoting Dragiša Durić <dragisha at m3w.org>:

> There were once (and still is, but not only ones for IPv4) different
> APIs for TCP and UDP. cmass people unified that in Socket.i3 API, but
> only for IPv4... What we really need here is even more general
> Socket.i3, covering AF_UNIX and IPv6...
>
> To accomplish this, we have to generalize (OO-ize :) ) Socket.EndPoint
> to include IPv4/IPv6/AF_UNIX (whatever it's called on Windows, named
> pipe or...) addresses so Socket(Posix|WIN32).m3 can decide about how to
> progress through related operations.
>
> Good news - Socket interface is unused from current cm3 source tree. Bad
> news - we don't know about other clients to it. Good news - this is
> Modula-3 and such changes are easy do detect and easier to change.
>
> Thus said... This is probably nothing for 5.8 to care about. If others
> agreee, and nobody does it, I can find some time in following months to
> unify work I already have done for AF_UNIX and also to cook what is
> needed for IPv6 (not much I believe).
>
> And of course there's always a "but". What will we do about SCTP?

This is definitely nothing for the release. There are still enough
problems without refactoring network layers.

I'd really appreciate it if you or somebody else takes care of it though.

IPv6 has been on my wishlist for M3 for years, too.

Olaf
-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list