SCM Repository
View of /sml/trunk/src/smlnj-lib/INet/unix-sock-util.sml
Parent Directory
|
Revision Log
Revision 651 -
(download)
(annotate)
Thu Jun 1 18:34:03 2000 UTC (20 years, 7 months ago) by monnier
File size: 633 byte(s)
Thu Jun 1 18:34:03 2000 UTC (20 years, 7 months ago) by monnier
File size: 633 byte(s)
bring revisions from the vendor branch to the trunk
(* unix-sock-util.sml * * COPYRIGHT (c) 1999 Bell Labs, Lucent Technologies. * * Bind SockUtil structure on Unix systems *) signature UNIX_SOCK_UTIL = sig include SOCK_UTIL val connectUnixStrm : string -> UnixSock.unix stream_sock (* establish a client-side connection to a Unix-domain stream socket *) end structure UnixSockUtil : UNIX_SOCK_UTIL = struct open SockUtil (* establish a client-side connection to a Unix-domain stream socket *) fun connectUnixStrm path = let val sock = UnixSock.Strm.socket () in Socket.connect (sock, UnixSock.toAddr path); sock end end
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |