summaryrefslogtreecommitdiffstats
path: root/src/core/network/sockets.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core/network: Add network abstractionReinUsesLisp2020-07-191-0/+94
This commit adds a network abstraction designed to implement bsd:s but at the same time work as a generic abstraction to implement any networking code we have to use from core. This is implemented on top of BSD sockets on Unix systems and winsock on Windows. The code is designed around winsocks having compatibility definitions to support both BSD and Windows sockets.