site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Nov 9, 2007, at 9:56 PM, Michael Smith wrote: On Nov 9, 2007, at 12:13 PM, Michael Tuexen wrote: why does solisten() in Leopard contain if ((so->so_proto->pr_flags & PR_CONNREQUIRED) == 0) { error = EOPNOTSUPP; goto out; } This was not there in Tiger. I do understand that you can not use listen() for UDP sockets, but this should be handled in UDP specific code. Which is not OK for one2many style sockets for SCTP. SCTP is connection oriented but does implicit connection management for you in case of one2many style sockets. To allow connections being accepted on these sockets you need to call listen(). That seems perfectly reasonable to me. = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... Without actually knowing why the change was made, I would point out that saying "this is a UDP thing" specifically fails to notice that the code in question basically says "if the protocol does not require connections, you cannot listen for a connection". This email sent to site_archiver@lists.apple.com