The MLKit basis library does not contain the (optional) UnixSock module. Since MLKit does contain the Socket module, I think the implementation of UnixSock could probably be adapted from MLton.