Closed B1ackDrag0n closed 2 years ago
Good morning.
Is it possible for multiple CppCMS processes, on a Linux machine, to share a port number, as discussed in this article?
https://lwn.net/Articles/542629/, using "SO_REUSEPORT".
From the article:
int sfd = socket(domain, socktype, 0); int optval = 1; setsockopt(sfd, SOL_SOCKET, SO_REUSEPORT, &optval, sizeof(optval)); bind(sfd, (struct sockaddr *) &addr, addrlen);
Werner
No. This option isn't implemented but looks interesting indeed
Good morning.
Is it possible for multiple CppCMS processes, on a Linux machine, to share a port number, as discussed in this article?
https://lwn.net/Articles/542629/, using "SO_REUSEPORT".
From the article:
Werner