home
wiki
classes/clusters list
class information
+
Point of view
INTERNALS_HANDLER
ANY
INTERNALS_HANDLER
All features
class LOCAL_ACCESS
Summary
top
Access to a server on the local machine.
Direct parents
inherit list:
ACCESS
insert list:
SOCKET_PLUG_IN
Overview
top
creation features
make
(a_address:
LOCALHOST
, a_port:
INTEGER_32
)
Access to a server on the given host address listening at the given port
exported features
address
:
LOCALHOST
The host of the server
server
:
SOCKET_SERVER
Start a server on the given port on localhost, listening to connections bound to the given address.
port
:
INTEGER_32
The port on which the server runs
error
:
STRING
If an error occurred
stream
:
SOCKET_INPUT_OUTPUT_STREAM
Open a connection to the remote address and port.
sync_stream
:
SOCKET_INPUT_OUTPUT_STREAM
Open a read-blocking connection to the remote address and port.
address
:
LOCALHOST
writable attribute
top
The host of the server
server
:
SOCKET_SERVER
effective function
top
Start a server on the given port on localhost, listening to connections bound to the given address.
port
:
INTEGER_32
writable attribute
top
The port on which the server runs
error
:
STRING
writable attribute
top
If an error occurred
stream
:
SOCKET_INPUT_OUTPUT_STREAM
effective function
top
Open a connection to the remote address and port.
ensure
error
= Void implies Result.is_connected
sync_stream
:
SOCKET_INPUT_OUTPUT_STREAM
effective function
top
Open a read-blocking connection to the remote address and port.
ensure
error
= Void implies Result.is_connected