MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / runSocketTest

Function runSocketTest

Tests/Libraries/Socket/SocketTest.cpp:385–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383
384 // Look for an available port
385 constexpr int tcpPort = 5050;
386 const StringView serverAddress = "::1"; // or "127.0.0.1"
387 SocketIPAddress nativeAddress;
388 SC_TRY(nativeAddress.fromAddressPort(serverAddress, tcpPort));

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected