Sysinternals / ProcDump-for-Linux

A Linux version of the ProcDump Sysinternals tool
MIT License
2.93k stars 302 forks source link

Add socket name and error to output when failure occurs during socket connect #186

Closed MarioHewardt closed 1 year ago

MarioHewardt commented 1 year ago

Expected behavior

If we fail to connect to the diagnostics socket of a .NET application, output the socket name and error code.

if (connect(fd, (struct sockaddr*)&addr, sizeof(struct sockaddr_un)) == -1)