Fabian Knorr aa8a4c1264 Socket: Use poll()/select() + getsockopt() to reliably detect ECONNREFUSED
On macOS, calling connect() twice on a non-blocking socket does not allow distinguishing between successful and unsuccessful completion.

poll() / WSAPoll() would be the correct cross-platform API to check for socket readiness, however on Windows before 10 2004 WSAPoll() never completes on a failed connect().
https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-connect documents that select() should be used instead. select() is an inferior choice on Unices,
where descriptors (ints) in fd_set are limited to < FD_SETSIZE (1024).
2026-11-13 09:53:05 +01:00
2026-09-29 23:05:33 +02:00
2026-09-11 22:08:37 +02:00
2026-06-12 19:23:28 +02:00
2026-10-16 01:23:07 +02:00
2024-05-25 00:16:29 +02:00
2024-05-12 19:23:18 +02:00
2023-10-09 22:38:04 +02:00
2022-04-16 00:13:10 +02:00
2026-10-16 01:23:04 +02:00
2025-07-27 21:18:57 +02:00
2024-09-27 16:56:55 +02:00
2026-01-01 02:12:05 +01:00
2026-09-29 23:05:33 +02:00

Tracy Profiler

A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.

Tracy supports profiling CPU (Direct support is provided for C, C++, Lua, Python and Fortran integration. At the same time, third-party bindings to many other languages exist on the internet, such as Rust, Zig, C#, OCaml, Odin, etc.), GPU (All major graphics/compute APIs: OpenGL, Vulkan, Direct3D 11/12, Metal, OpenCL, CUDA, WebGPU.), memory allocations, locks, context switches, automatically attribute screenshots to captured frames, and much more.

An Introduction to Tracy Profiler in C++ - Marcos Slomp - CppCon 2023

Introduction to Tracy Profiler v0.2
New features in Tracy Profiler v0.3
New features in Tracy Profiler v0.4
New features in Tracy Profiler v0.5
New features in Tracy Profiler v0.6
New features in Tracy Profiler v0.7
New features in Tracy Profiler v0.8

S
Description
No description provided
Readme BSD-3-Clause
65 MiB
Languages
C++ 89.7%
C 5.4%
TeX 2.4%
Python 1.2%
CMake 0.7%
Other 0.3%