开发者

Can I with SCTP use bindx/SCTP_SOCKOPT_BINDX_ADD after connecting?

When using SCTP, after I have called bind() (but not bindx() / SCTP_SOCKOPT_BINDX_ADD) and after I have called connect(), can I then call bind() or use SCTP_SOCKOPT_BINDX_ADD?

E.g. -after- connecting, rather than after bindin开发者_StackOverflow中文版g and before connecting, can I add additional local IP addresses (for multi-homing).


RFC said: Adding and removing addresses from a connected association is an optional functionality. Implementations that do not support this functionality should return -1 and set errno to EOPNOTSUPP.

But in linux, you can add/rem additional local ip addr after established connection.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜