summaryrefslogtreecommitdiffstats
path: root/src/shared/sockhelper.h
Commit message (Collapse)AuthorAgeFilesLines
* [BUILD] rewrite CMake build system to track changes of source filesManuel Bentele2020-10-161-120/+0Star
| | | | | | | | | | This change restructures the source code directories, separates shared form non-shared application code and adds CMake dependencies. These dependencies allow the tracking of changes and trigger a rebuild of those build targets where changed files are involved. WARNING: Note that the support of the DNBD3_SERVER_AFL build option is not supported yet. Thus, the option should be never turned on.
* [SHARED] Add sockaddr2dnbd3 func, add multiConnect func, EINTR handlingSimon Rettberg2017-11-061-4/+22
| | | | | | | | | | EINTR was apparently not handled properly on non-linux for the connect() syscall. sockaddr2dnbd3 is what resolveToDnbd3Host already did internally, now it's its own function. sock_multiConnect() is a wrapper around connect() and poll, making it easy to connect to multiple hosts in a cascaded manner, with a slight delay between connect calls.
* [SERVER] Fix types or add explicit casts everywhere we might have type ↵Simon Rettberg2017-10-241-2/+2
| | | | conversion problems
* [*] constness for sock_sendAll paramsSimon Rettberg2017-10-011-1/+1
|
* cleanup commitsSebastian2016-02-111-1/+1
|
* [FUSE] Add virtual status fileSimon Rettberg2015-12-021-1/+3
|
* [FUSE] Stability improvements, runs for longer than a couple secs now :)Simon Rettberg2015-12-011-1/+6
|
* [FUSE] It works! Kinda...Simon Rettberg2015-11-301-0/+2
|
* [FUSE] Mid-refactoring, does not compileSimon Rettberg2015-11-241-0/+93