Skip to content
Snippets Groups Projects
Commit bc1c9cb9 authored by Benny Baumann's avatar Benny Baumann
Browse files

chg: Reduce visibility of low-level TCP socket creation

parent cfc740b0
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@
namespace rmrf::net {
auto_fd create_tcp_server_socket(const socketaddr& socket_identifier) {
static auto_fd create_tcp_server_socket(const socketaddr& socket_identifier) {
auto_fd socket_fd{socket(socket_identifier.family(), SOCK_STREAM, 0)};
if (!socket_fd.valid()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment