[Pharo-project] Adding SCTP support to the VM/Network-Kernel
Hi, I require SCTP support for my work. I have implemented very basic support in the unix version of the SocketPlugin[1], made modifications to the CMake generation, the VMMaker part of the SocketPlugin and the Network-Kernel. Basic manual testing shows that I can open a connection read/write using the normal and specialized selectors. The Smalltalk bits can be found here[2]. What is the process to get a feature like this integrated? Is there a precedence of emitting CMake rules to check for libraries/headers to be present? holger [1] https://gitorious.org/~zecke/cogvm/zeckes-cogvm/commit/24bb6fd2c166613735675... [2] http://smalltalkhub.com/#!/~hfreyther2/sctp/source
Hi,
I require SCTP support for my work. I have implemented very basic support in the unix version of the SocketPlugin[1], made modifications to the CMake generation, the VMMaker part of the SocketPlugin and the Network-Kernel. Basic manual testing shows that I can open a connection read/write using the normal and specialized selectors. The Smalltalk bits can be found here[2].
Thanks a lot :)
What is the process to get a feature like this integrated? Is there a precedence of emitting CMake rules to check for libraries/headers to be present?
- publish it on git - have some tests - send a mail to the mailing-list - sign the license agreements - enter a bug entry - sync with esteban and igor.
holger
[1] https://gitorious.org/~zecke/cogvm/zeckes-cogvm/commit/24bb6fd2c166613735675... [2] http://smalltalkhub.com/#!/~hfreyther2/sctp/source
On 29 January 2013 18:52, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Hi,
I require SCTP support for my work. I have implemented very basic support in the unix version of the SocketPlugin[1], made modifications to the CMake generation, the VMMaker part of the SocketPlugin and the Network-Kernel. Basic manual testing shows that I can open a connection read/write using the normal and specialized selectors. The Smalltalk bits can be found here[2].
Thanks a lot :)
What is the process to get a feature like this integrated? Is there a precedence of emitting CMake rules to check for libraries/headers to be present?
- publish it on git - have some tests - send a mail to the mailing-list - sign the license agreements - enter a bug entry - sync with esteban and igor.
yes, we need some tests and examples. because i am completely ignorant about this protocol, and i don't know if it will work or not by just looking at code (regardless that the code looks fine to me :) ).
holger
[1] https://gitorious.org/~zecke/cogvm/zeckes-cogvm/commit/24bb6fd2c166613735675... [2] http://smalltalkhub.com/#!/~hfreyther2/sctp/source
-- Best regards, Igor Stasenko.
On Fri, Feb 08, 2013 at 04:18:24PM +0100, Holger Hans Peter Freyther wrote:
On Fri, Feb 08, 2013 at 04:18:30PM +0200, Igor Stasenko wrote:
yes, we need some tests and examples.
sure. The issue is that not every OS is supporting SCTP. Can you point me to a test that is skipped depending on VM support? I will then update the package.
My smalltalkhub project now has a NetworkTests package. This does not test the datagram interface (UDP sockets do not appear to be tested with the SocketTest). This would obviously only work if all systems have SCTP support. I wonder if I should subclass the SocketTest as SCTPSocketTest and override the selectors. holger
On 29 January 2013 12:21, Holger Hans Peter Freyther <holger@freyther.de> wrote:
Hi,
I require SCTP support for my work. I have implemented very basic support in the unix version of the SocketPlugin[1], made modifications to the CMake generation, the VMMaker part of the SocketPlugin and the Network-Kernel. <snip>
I'm very interested in seeing SCTP support in _all_ the VMs. Would you mind telling vm-dev about your work? frank
holger
On Fri, Feb 08, 2013 at 01:24:58PM +0000, Frank Shearar wrote: Dear Frank,
I'm very interested in seeing SCTP support in _all_ the VMs. Would you mind telling vm-dev about your work?
I am afraid that you have lost me. I assume vm-dev is a mailinglist? Could you point me to mailinglist archive/info page? What kind of information do you need? holger
On 8 February 2013 15:19, Holger Hans Peter Freyther <holger@freyther.de> wrote:
On Fri, Feb 08, 2013 at 01:24:58PM +0000, Frank Shearar wrote:
Dear Frank,
I'm very interested in seeing SCTP support in _all_ the VMs. Would you mind telling vm-dev about your work?
I am afraid that you have lost me. I assume vm-dev is a mailinglist? Could you point me to mailinglist archive/info page? What kind of information do you need?
holger
Hi Holger, vm-dev is the official mailing list for people hacking on the virtual machines: http://lists.squeakfoundation.org/mailman/listinfo/vm-dev I'm thinking just that you're wanting SCTP at all; that would go a long way towards getting the extension. You've already mentioned the problem of platform dependence: while I know that linux and FreeBSD (and thus presumably the other BSDs) support SCTP, I don't know whether Windows, OS X, RISC OS or the other supported platforms do. I'm not suggesting that you implement the plugin for all these platforms - that would be madness - but by talking about your needs on vm-dev the other VM maintainers can hear about your work, suggest improvements, etc. frank
participants (4)
-
Frank Shearar -
Holger Hans Peter Freyther -
Igor Stasenko -
Stéphane Ducasse