GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
tutorial
>
SELECT
+
Point of view
All features
ANY
All features
class SELECT
Summary
top
Direct parents
Insert list:
ANY
Overview
top
Creation features
{
ANY
}
make
Connect to the server started by the
SOCKETS
class in the same cluster.
Features
{
ANY
}
events
:
EVENTS_SET
make
Connect to the server started by the
SOCKETS
class in the same cluster.
read
(ms:
INTEGER_32
)
ios
:
SOCKET_INPUT_OUTPUT_STREAM
connect_to
(host:
STRING
, port:
INTEGER_32
)
connect TCP stream to destination host and port
is_connected
:
BOOLEAN
is the stream connected
disconnect
disconnect the stream
events
:
EVENTS_SET
writable attribute
{
ANY
}
top
make
effective procedure
{
ANY
}
top
Connect to the server started by the
SOCKETS
class in the same cluster.
You must compile and start it first.
read
(ms:
INTEGER_32
)
effective procedure
{
ANY
}
top
ios
:
SOCKET_INPUT_OUTPUT_STREAM
writable attribute
{
ANY
}
top
connect_to
(host:
STRING
, port:
INTEGER_32
)
effective procedure
{
ANY
}
top
connect TCP stream to destination host and port
is_connected
:
BOOLEAN
effective function
{
ANY
}
top
is the stream connected
disconnect
effective procedure
{
ANY
}
top
disconnect the stream
require
is_connected
ensure
not
is_connected