Overview  Index  Help 
Standard ML Basis Library

GenericSock


structure GenericSock : GENERIC_SOCK =
struct
  structure PS = PreSock
  val sockFn
  val addressFamilies : unit -> Socket.AF.addr_family list
  val socketTypes : unit -> Socket.SOCK.sock_type
  val c_socket
  val c_socketPair
  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
  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

       
Value detail

sockFn

val sockFn


addressFamilies

val addressFamilies : unit -> Socket.AF.addr_family list


socketTypes

val socketTypes : unit -> Socket.SOCK.sock_type


c_socket

val c_socket


c_socketPair

val c_socketPair


socket

val socket
    : Socket.AF.addr_family * Socket.SOCK.sock_type -> ('a, 'b) Socket.sock


socketPair

val socketPair
    : Socket.AF.addr_family * Socket.SOCK.sock_type ->
        ('a, 'b) Socket.sock * ('a, 'b) Socket.sock


socket'

val socket'
    : Socket.AF.addr_family * Socket.SOCK.sock_type * int ->
        ('a, 'b) Socket.sock


socketPair'

val socketPair'
    : Socket.AF.addr_family * Socket.SOCK.sock_type * int ->
        ('a, 'b) Socket.sock * ('a, 'b) Socket.sock

 


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).