1Net(3kaya) Kaya module reference Net(3kaya)
23
4
NAME
6Net - Networking functions
7
DESCRIPTION
9This module contains functions for setting up TCP network connections
10and sending and receiving data, and listening on TCP ports. If
11libgnutls was available when Kaya was configured, then TLS(3kaya) may
12be used to set up encrypted connections.
13
DATA TYPES
15Net.NetHandle (3kaya)
16Net.Protocol (3kaya)
EXCEPTIONS
18Net.AcceptFailed (3kaya)
19Net.CantBind (3kaya)
20Net.CantGetHost (3kaya)
21Net.CantInit (3kaya)
22Net.CantListen (3kaya)
23Net.CloseError (3kaya)
24Net.ConnectError (3kaya)
25Net.NegativeLength (3kaya)
26Net.NothingToReceive (3kaya)
27Net.ProtocolNotSupported (3kaya)
28Net.SelectError (3kaya)
29Net.SendFailed (3kaya)
FUNCTIONS
31Net.accept (3kaya)
32Net.closeConnection (3kaya)
33Net.closeSocket (3kaya)
34Net.connWaiting (3kaya)
35Net.connect (3kaya)
36Net.getHost (3kaya)
37Net.listen (3kaya)
38Net.microPending (3kaya)
39Net.microRecv (3kaya)
40Net.netInit (3kaya)
41Net.pending (3kaya)
42Net.recv (3kaya)
43Net.recvByte (3kaya)
44Net.recvBytes (3kaya)
45Net.send (3kaya)
46Net.sendByte (3kaya)
47Net.sendBytes (3kaya)
48Net.shutdown (3kaya)
49Net.startTLS (3kaya)
50Net.waitFor (3kaya)
AUTHORS
52Kaya standard library by Edwin Brady, Chris Morris and others
53(kaya@kayalang.org). For further information see http://kayalang.org/
LICENSE
55The Kaya standard library is free software; you can redistribute it
56and/or modify it under the terms of the GNU Lesser General Public
57License (version 2.1 or any later version) as published by the Free
58Software Foundation.
5960
61
62
Kaya December 2010 Net(3kaya)