Makes a named socket.
mksock is a small, standalone utility program that creates a named socket, which can be useful when testing file-system utilities and libraries (such as recls).
Detailed instructions - via CMake, via bundling, via custom makefile parameters - are provided in the accompanying INSTALL.md file.
The project creates a single executable program, mksock.
$ pwd
mksock /tmp/mysocket.sock 0777
$ ls -al /tmp/
. . .
srwxr-xr-x 1 mwsis wheel 0B 11 Mar 19:34 mysocket.sock
. . .
$Defect reports, feature requests, and pull requests are welcome on the mksock GitHub page.
mksock depends on:
For unit-testing, mksock depends additionally on:
Other (similar) project include:
mksock is released under the 3-clause BSD license. See LICENSE for details.