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 1393, Fri Sep 26 17:00:32 2003 UTC revision 1394, Fri Sep 26 19:56:20 2003 UTC
# Line 6  Line 6 
6   * structure is called Sock, so that the signatures will compile.   * structure is called Sock, so that the signatures will compile.
7   *   *
8   *)   *)
   
9  local  local
10      structure SysWord = SysWordImp      structure SysWord = SysWordImp
11      structure Word8 = Word8Imp      structure Word8 = Word8Imp
# Line 27  Line 26 
26      type sockFD = int      type sockFD = int
27      type socket = { fd: sockFD, nb: bool ref }      type socket = { fd: sockFD, nb: bool ref }
28    
   (* an internet address; this is here because it is abstract in the  
    * NetHostDB and IP structures.  
    *)  
     datatype in_addr = INADDR of addr  
   
   
29    (* sockets are polymorphic; the instantiation of the type variables    (* sockets are polymorphic; the instantiation of the type variables
30     * provides a way to distinguish between different kinds of sockets.     * provides a way to distinguish between different kinds of sockets.
31     *)     *)

Legend:
Removed from v.1393  
changed lines
  Added in v.1394

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