5 Commits

Author SHA1 Message Date
Sergei Trofimovich
c69444ed76
include/dap/network.h: add <stdint.h> include for gcc-15 (#133)
On `gcc-15` without the include header can't be used as is. I noticed
`cmake` build failing as:

    dap/network.h:31:39: error: 'uint32_t' has not been declared
       31 |                                       uint32_t timeoutMillis = 0);
          |                                       ^~~~~~~~

The change adds `uint32_t` declaration via `<stdint.h>`.
2024-08-02 11:38:40 -04:00
ocack
0f943b3357 Fix for issue #100 : Let possible to start the server on an address other than localhost
Add a new function for keeping the API stable
2024-04-30 11:03:44 +01:00
Ben Clayton
13c9e7d465 Implement timeouts for dap::Socket::connect
Fixes: #24
2020-06-08 20:22:05 +01:00
Ben Clayton
eab43f3518 net::Server: Fix onError parameter default.
The onError parameter of Server::start was default initialized with
OnError(), which is an 'invalid target', not a no-op implementation.

Replace with a true no-op implementation.
2019-12-05 15:12:56 +00:00
Ben Clayton
2dfd15462f Initial drop of cppdap 2019-11-08 21:58:50 +00:00