1Sockets(3kaya)               Kaya module reference              Sockets(3kaya)
2
3
4

NAME

6       Sockets - Unix Sockets
7

DESCRIPTION

9       This  module  implements interprocess communication using sockets. This
10       is  useful  for  communicating  between  two  processes  started   with
11       Posix.fork  (3kaya)  using  the  Sockets.socketPair (3kaya) function to
12       create the sockets.
13
14       Sockets are represented by the Sockets.Socket (3kaya)  data  type,  and
15       are  generally  similar  to  the  Net.NetHandle  (3kaya)  type  in  the
16       Net(3kaya) module.
17

DATA TYPES

19       Sockets.Socket (3kaya)

EXCEPTIONS

21       Sockets.SocketTimeout (3kaya)

FUNCTIONS

23       Sockets.close (3kaya)
24       Sockets.netToSocket (3kaya)
25       Sockets.pending (3kaya)
26       Sockets.recv (3kaya)
27       Sockets.recvByte (3kaya)
28       Sockets.recvBytes (3kaya)
29       Sockets.send (3kaya)
30       Sockets.sendByte (3kaya)
31       Sockets.sendBytes (3kaya)
32       Sockets.socketPair (3kaya)
33       Sockets.socketToNet (3kaya)

AUTHORS

35       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
36       (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

38       The  Kaya  standard  library  is free software; you can redistribute it
39       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
40       License  (version  2.1  or  any later version) as published by the Free
41       Software Foundation.
42
43
44
45Kaya                             December 2010                  Sockets(3kaya)
Impressum