Page MenuHomePhabricator

netbase: extend CreateSock() to support creating arbitrary sockets
ClosedPublic

Authored by PiRK on Mar 26 2026, 15:56.

Details

Summary

Allow the callers of CreateSock() to pass all 3 arguments to the
socket(2) syscall. This makes it possible to create sockets of
any domain/type/protocol.

This is a backport of core#30202
Depends on D19737

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable