Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/branches/primop-branch/src/system/Basis/Implementation/Sockets/generic-sock.sig
ViewVC logotype

View of /sml/branches/primop-branch/src/system/Basis/Implementation/Sockets/generic-sock.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1471 - (download) (as text) (annotate)
Mon Mar 29 22:45:55 2004 UTC (15 years, 10 months ago) by macqueen
File size: 699 byte(s)
merged trunk from primop-branch to HEAD into primop-branch
(* generic-sock.sig
 *
 * COPYRIGHT (c) 1995 AT&T Bell Laboratories.
 *
 *)

local
    structure Socket = SocketImp
in
signature GENERIC_SOCK = sig

    (* create sockets using default protocol *)
    val socket : Socket.AF.addr_family * Socket.SOCK.sock_type
		 -> ('a, 'b) Socket.sock
    val socketPair : Socket.AF.addr_family * Socket.SOCK.sock_type
		     -> ('a, 'b) Socket.sock * ('a, 'b) Socket.sock

    (* create sockets using the specified protocol *)
    val socket' : Socket.AF.addr_family * Socket.SOCK.sock_type * int
		  -> ('a, 'b) Socket.sock
    val socketPair' : Socket.AF.addr_family * Socket.SOCK.sock_type * int
		      -> ('a, 'b) Socket.sock * ('a, 'b) Socket.sock

end
end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0