Ryan Culpepper <firstname.lastname@example.org>
|(require racket/unix-socket)||package: unix-socket-lib|
(unix-socket-connect socket-path) →
input-port? output-port? socket-path : unix-socket-path?
If v is a path (path-string?), then the current platform must be either Linux or Mac OS X, and the length of v’s corresponding absolute path must be less than or equal to the platform-specific length (108 bytes on Linux, 104 bytes on Mac OS X). Example: "/tmp/mysocket".
If v is a bytestring (bytes?), then the current platform must be Linux, v must start with a 0 (NUL) byte, and its length must be less than or equal to 108 bytes. Such a value refers to a socket in the Linux abstract socket namespace. Example: #"\0mysocket".
Otherwise, returns #f.