Sockets.3kaya

Langue: en

Version: March 2009 (fedora - 06/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Sockets - Unix Sockets

DESCRIPTION

This module implements interprocess communication using sockets. This is useful for communicating between two processes started with Posix.fork(3kaya) using the Sockets.socketPair(3kaya) function to create the sockets.

Sockets are represented by the Sockets.Socket(3kaya) data type, and are generally similar to the Net.NetHandle(3kaya) type in the Net(3kaya) module.

DATA TYPES

Sockets.Socket(3kaya)

EXCEPTIONS

Sockets.SocketTimeout(3kaya)

FUNCTIONS

Sockets.close(3kaya)

Sockets.netToSocket(3kaya)

Sockets.pending(3kaya)

Sockets.recv(3kaya)

Sockets.recvByte(3kaya)

Sockets.recvBytes(3kaya)

Sockets.send(3kaya)

Sockets.sendByte(3kaya)

Sockets.sendBytes(3kaya)

Sockets.socketPair(3kaya)

Sockets.socketToNet(3kaya)

AUTHORS

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

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.