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

NAME

6       Net - Networking functions
7

DESCRIPTION

9       This  module  contains functions for setting up TCP network connections
10       and sending  and  receiving  data,  and  listening  on  TCP  ports.  If
11       libgnutls  was  available when Kaya was configured, then TLS(3kaya) may
12       be used to set up encrypted connections.
13

DATA TYPES

15       Net.NetHandle (3kaya)
16       Net.Protocol (3kaya)

EXCEPTIONS

18       Net.AcceptFailed (3kaya)
19       Net.CantBind (3kaya)
20       Net.CantGetHost (3kaya)
21       Net.CantInit (3kaya)
22       Net.CantListen (3kaya)
23       Net.CloseError (3kaya)
24       Net.ConnectError (3kaya)
25       Net.NegativeLength (3kaya)
26       Net.NothingToReceive (3kaya)
27       Net.ProtocolNotSupported (3kaya)
28       Net.SelectError (3kaya)
29       Net.SendFailed (3kaya)

FUNCTIONS

31       Net.accept (3kaya)
32       Net.closeConnection (3kaya)
33       Net.closeSocket (3kaya)
34       Net.connWaiting (3kaya)
35       Net.connect (3kaya)
36       Net.getHost (3kaya)
37       Net.listen (3kaya)
38       Net.microPending (3kaya)
39       Net.microRecv (3kaya)
40       Net.netInit (3kaya)
41       Net.pending (3kaya)
42       Net.recv (3kaya)
43       Net.recvByte (3kaya)
44       Net.recvBytes (3kaya)
45       Net.send (3kaya)
46       Net.sendByte (3kaya)
47       Net.sendBytes (3kaya)
48       Net.shutdown (3kaya)
49       Net.startTLS (3kaya)
50       Net.waitFor (3kaya)

AUTHORS

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

LICENSE

55       The  Kaya  standard  library  is free software; you can redistribute it
56       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
57       License  (version  2.1  or  any later version) as published by the Free
58       Software Foundation.
59
60
61
62Kaya                             December 2010                      Net(3kaya)
Impressum