Overview  Index  Help 
Standard ML Basis Library

SocketImp.SOCK

Enclosing Modules:

SocketImp


structure SOCK =
struct
  type sock_type = PreSock.sock_type
  val listSockTypes
  val stream : sock_type
  val dgram : sock_type
  val list : unit -> (string * sock_typelist
  val toString : sock_type -> string
  val fromString : string -> sock_type option
end

 
Type detail

sock_type

type sock_type = PreSock.sock_type

     
Value detail

listSockTypes

val listSockTypes


stream

val stream : sock_type


dgram

val dgram : sock_type


list

val list : unit -> (string * sock_typelist


toString

val toString : sock_type -> string


fromString

val fromString : string -> sock_type option

 


Overview  Index  Help 
Standard ML Basis Library

This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy.

Copyright © 2003 AT&T and Lucent Technologies. All rights reserved.

Permission is granted for internet users to make one paper copy for their own personal use. Further hardcopy reproduction is strictly prohibited. Permission to distribute the HTML document electronically on any medium other than the internet must be requested from the copyright holders by contacting the editors. Printed versions of the SML Basis Manual are available from Cambridge University Press. To order, please visit www.cup.org (North America) or www.cup.cam.ac.uk (outside North America).