IPv6 support [VM]
Hi, does anyone know what is the state of Pharo's IPv6 support? I've found some discussion from 2009/2010 talking about it and making changes to the VM, but it seems incomplete. Creating IPv6 socket seems to be supported on the VM side (and I had no failure when I modified the netType from 0 to 3 in Socket>>initialize:) https://github.com/pharo-project/pharo-vm/blob/master/opensmalltalk-vm/platf... https://github.com/pharo-project/pharo-vm/blob/master/opensmalltalk-vm/platf... However creating connection fails I guess here https://github.com/pharo-project/pharo-vm/blob/master/opensmalltalk-vm/src/p... And even if it didn't fail there, sqSocketConnectToPort accepts address in sqInt (4 bytes), and sets the type to AF_INET https://github.com/pharo-project/pharo-vm/blob/master/opensmalltalk-vm/platf... Was the effort abandoned? Am I doing something wrong and it actually should work? Also NetNameResolver in Pharo is IPv4 only, but that's not an issue here. Thanks, Peter
there was some work but it was not finished, then is kind of aborted (for now). if you want to take a look there are some primitives in the networking plugin⦠never finished, never tested, never done :) Esteban
On 14 Feb 2017, at 13:20, Peter Uhnak <i.uhnak@gmail.com> wrote:
Hi,
does anyone know what is the state of Pharo's IPv6 support?
I've found some discussion from 2009/2010 talking about it and making changes to the VM, but it seems incomplete.
Creating IPv6 socket seems to be supported on the VM side (and I had no failure when I modified the netType from 0 to 3 in Socket>>initialize:)
https://github.com/pharo-project/pharo-vm/blob/master/opensmalltalk-vm/platf... https://github.com/pharo-project/pharo-vm/blob/master/opensmalltalk-vm/platf...
However creating connection fails I guess here https://github.com/pharo-project/pharo-vm/blob/master/opensmalltalk-vm/src/p...
And even if it didn't fail there, sqSocketConnectToPort accepts address in sqInt (4 bytes), and sets the type to AF_INET https://github.com/pharo-project/pharo-vm/blob/master/opensmalltalk-vm/platf...
Was the effort abandoned? Am I doing something wrong and it actually should work?
Also NetNameResolver in Pharo is IPv4 only, but that's not an issue here.
Thanks, Peter
On Tue, Feb 14, 2017 at 01:35:14PM +0100, Esteban Lorenzano wrote:
there was some work but it was not finished, then is kind of aborted (for now). if you want to take a look there are some primitives in the networking plugin⦠never finished, never tested, never done :)
Should be there in the VM/plugin. I got Unix domain socket working... and I should dust off the Fogbugz issue that I created and add some tests. Pierce
participants (3)
-
Esteban Lorenzano -
Peter Uhnak -
Pierce Ng