An updated (by Liu Jiaming) package of useful routines for UNIX domain sockets