[RFC] SCTP in Smalltalk

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[RFC] SCTP in Smalltalk

Holger Freyther
Hi all,

I have started creating some very basic SCTP support. Right now I do not
intend to support things like multi-homing, peeling off streams or such. I do
intend to support streams and other things.

On Linux there is a library for sctp that implements functions proposed in a
RFC. In general this API is just a wrapper around setsockopt or using the OOB
of the sendmsg/recvmsg.

My basic question is if I should DLD addLibrary this library or use CStruct to
create structs like the sctp_sndrcvinfo and use sendmsg/rcvmsg directly.

regards
        holger

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [RFC] SCTP in Smalltalk

Paolo Bonzini-2
On 01/19/2011 08:13 PM, Holger Hans Peter Freyther wrote:
> Hi all,
>
> I have started creating some very basic SCTP support. Right now I do not
> intend to support things like multi-homing, peeling off streams or such. I do
> intend to support streams and other things.

So that would be only reliable datagrams for now?

> On Linux there is a library for sctp that implements functions proposed in a
> RFC. In general this API is just a wrapper around setsockopt or using the OOB
> of the sendmsg/recvmsg.
>
> My basic question is if I should DLD addLibrary this library or use CStruct to
> create structs like the sctp_sndrcvinfo and use sendmsg/rcvmsg directly.

It's the same for me.

Paolo

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [RFC] SCTP in Smalltalk

Paolo Bonzini-2
On 01/20/2011 09:55 AM, Sungjin Chun wrote:
> How about UDT? <http://udt.sf.net>udt.sf.net <http://udt.sf.net>

It's interesting, but a very different thing.

Paolo

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [RFC] SCTP in Smalltalk

Holger Freyther
In reply to this post by Paolo Bonzini-2
On 01/20/2011 08:03 AM, Paolo Bonzini wrote:
> On 01/19/2011 08:13 PM, Holger Hans Peter Freyther wrote:
>> Hi all,
>>
>> I have started creating some very basic SCTP support. Right now I do not
>> intend to support things like multi-homing, peeling off streams or such. I do
>> intend to support streams and other things.
>
> So that would be only reliable datagrams for now?

Well, from what I understand even the connection orientated sockets work with
packets/datagrams (not the classical stream one knows from TCP).


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk