-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
please add sctp protocol support to IO::Socket::INET [rt.cpan.org #68902] #17446
Comments
Given no response to the comment made by @Leont in 2012, I'm going to close this. Please re-open if you still would like to discuss this further. |
I do think this ticket is valid, but realistically it needs |
How would you like to action this then? Do we want a perl RT about this? |
IMO we should improve our sctp support, the question is should it be |
I don't really know enough about SCTP or the uses of it to suggest either way |
@Leont Perhaps rather than just Both interface styles are of legitimate interest. |
I think that would only be more confusing. Also, this is only about the default (you can still override the |
In order to use SCTP usefully, though, you have to know whether you want TCP-style/one-to-one or UDP-style/one-to-many, right? It seems to me that any confusion that results from having |
While SCTP does support multihoming, I don't think that would fit into the interface of |
Hrm? Where are you reading that? sctp(7) says:
|
Yeah I didn't have that manpage until I just installed it. I still don't think it'd be helpful to deviate from the socket API too much here (in other words, have 2 arguments instead of 1) |
How would 2 args conform better to the socket API? |
It seems to me that the current behaviour is reasonable, I don't think we can reasonable select one socket type over the other, so it's reasonable to expect the caller to supply that themselves. The error returned could be improved though:
and that could be improved, maybe:
would be an improvement. |
Actually, that is probably the most reasonable suggestion :-) |
Migrated from rt.cpan.org#68902 (status was 'open')
Requestors:
From [email protected] on 2011-06-17 19:12:49:
From [email protected] on 2012-02-21 19:50:18:
I'm not sure this is the most sensible of behaviors. sctp can be used as
both a SOCK_STREAM and a SOCK_SEQPACKET: but the former doesn't really
make sense (what'd be the advantage over tcp?).
Leon
The text was updated successfully, but these errors were encountered: