randombit/botan

Consolidate/fix BSD socket layer code

Open

#2,216 opened on Dec 6, 2019

View on GitHub
 (4 comments) (0 reactions) (0 assignees)C++ (654 forks)auto 404
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (3,283 stars)
PR merge metrics
 (PR metrics pending)

Description

socket.cpp, socket_udp.cpp and cli/socket_utils.h have a lot of shared/duplicated code for handling differences in socket interface between BSD and Windsock. Consolidate into a single internal header which can be used across all three.

Contributor guide