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

SCM Repository

[smlnj] Diff of /sml/trunk/src/system/Basis/Implementation/Sockets/pre-sock.sml
ViewVC logotype

Diff of /sml/trunk/src/system/Basis/Implementation/Sockets/pre-sock.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1388, Mon Sep 22 17:13:20 2003 UTC revision 1389, Wed Sep 24 20:09:40 2003 UTC
# Line 21  Line 21 
21    (* the raw representation of an address family *)    (* the raw representation of an address family *)
22      type af = CInterface.system_const      type af = CInterface.system_const
23    
24    (* the raw representation of a socket (a file descriptor for now) *)    (* the raw representation of a socket:
25      type socket = int     *   a file descriptor for now and a mutable flag indicating
26       *   (with a value of true) if the socket is currently set
27       *   to non-blocking *)
28        type sockFD = int
29        type socket = { fd: sockFD, nb: bool ref }
30    
31    (* an internet address; this is here because it is abstract in the    (* an internet address; this is here because it is abstract in the
32     * NetHostDB and IP structures.     * NetHostDB and IP structures.
# Line 108  Line 112 
112   * types.   * types.
113   *)   *)
114  structure Socket = PreSock;  structure Socket = PreSock;
   
   

Legend:
Removed from v.1388  
changed lines
  Added in v.1389

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