[Vm-dev] Socket aid and advice request

Bert Freudenberg bert at freudenbergs.de
Wed Feb 20 17:59:37 UTC 2013

On 2013-02-20, at 00:36, tim Rowledge <tim at rowledge.org> wrote:

> The socket plugin has been somewhat extended since the 4.0 days and I'm having some… fun… trying to make it for RISC OS. I should explain that up to now I've normally taken Ian's unix socket code, whacked at it randomly until the Acorn tcplib stuff submits and calling that 'done'. That isn't going to work this time because nobody has done IPv6 support for RISC OS (and honestly, there isn't a high likelihood they ever will) so at the very least I have to prune out the relevant lines. Also there appears to be at least a couple of new APIs that simply don't exist in the Acorn tcplib world - to whit, getaddrinfo and setLinger. Are they part of IPv6 support, for example?
> I could do with help understanding what the intent of the changes is/was and particularly what older apis might be usable to cobble up suitable equivalents of the gettaddrinfo etc.

The old plugin should Just Work. The image tests for support of the new prims and falls back onto the old stuff.

- Bert -

More information about the Vm-dev mailing list