markaren / SimpleSocket

A simple cross-platform socket library for C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimpleSocket

A simple cross-platform Socket (TCP/UDP/WebSockets) implementation for C++ (no external dependencies) for education and hobby usage.

NOT for use in production.

Downstream usage with CMake FetchContent

include(FetchContent)
set(SIMPLE_SOCKET_BUILD_TESTS OFF)
FetchContent_Declare(
        SimpleSocket
        GIT_REPOSITORY https://github.com/markaren/SimpleSocket.git
        GIT_TAG tag_or_commit_hash
)
FetchContent_MakeAvailable(SimpleSocket)

target_link_libraries(some_target PRIVATE simple_socket)

About

A simple cross-platform socket library for C++

License:MIT License


Languages

Language:C++ 90.7%Language:CMake 8.1%Language:HTML 1.2%