RE: Multiple connections from the same source address.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michael Tuexen
> Sent: 08 September 2017 16:29
..
> OK, I see. I just double checked. If Linux follows RFC 6458,
> it should be possible to do
> fd = socket(AF_INET, SOCK_STREAM, IPPROTO_SCTP);
> setsockopt(fd, IPPROTO_SCTP, SCTP_REUSE_PORT, &on, sizeof(int));
> and then call bind().
> 
> I can run this kind of program on FreeBSD multiple times in
> parallel, each one talking to a different end-point.
> I'm not sure if Linux supports SCTP_REUSE_PORT.

Are you binding to a local address as well as a port?

	David

--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux