class SOCKET
Summary
Overview
creation features
features
socket listeners
  • recycle
    Do whatever needs to be done to free resources or recycle other objects when recycling this one
really low level
Plugin
default_buffer_size: INTEGER_32
constant attribute
is_connected: BOOLEAN
writable attribute
error: STRING
writable attribute
read (sync: BOOLEAN)
effective procedure
last_read: STRING
writable attribute
write (data: STRING)
effective procedure
disconnect
effective procedure
clear
effective procedure
writable attribute
writable attribute
writable attribute
writable attribute
port: INTEGER_32
writable attribute
writable attribute
when_disconnected (a_listener: PROCEDURE[TUPLE 1[SOCKET]])
effective procedure
bind (server: SOCKET_SERVER)
effective procedure
Binds the socket to the server.
common_make (ip_a: INTEGER_32, ip_b: INTEGER_32, ip_c: INTEGER_32, ip_d: INTEGER_32, a_port: INTEGER_32)
effective procedure
make_local (ip_a: INTEGER_32, ip_b: INTEGER_32, ip_c: INTEGER_32, ip_d: INTEGER_32, a_port: INTEGER_32)
effective procedure
make_tcp (ip_a: INTEGER_32, ip_b: INTEGER_32, ip_c: INTEGER_32, ip_d: INTEGER_32, a_port: INTEGER_32)
effective procedure
make_udp (ip_a: INTEGER_32, ip_b: INTEGER_32, ip_c: INTEGER_32, ip_d: INTEGER_32, a_port: INTEGER_32)
effective procedure
connect (a_fd: INTEGER_32)
effective procedure
disconnected_listeners: FAST_ARRAY[PROCEDURE[TUPLE 1[SOCKET]]]
writable attribute
fire_disconnected
effective procedure
recycle
effective procedure
Do whatever needs to be done to free resources or recycle other objects when recycling this one
bind_values: NATIVE_ARRAY[INTEGER_32]
writable attribute
dispose
effective procedure
Action to be executed just before garbage collection reclaims an object.
last_error: STRING
effective function
last_error_memory: STRING
constant attribute
net_tcp (ip_a: INTEGER_32, ip_b: INTEGER_32, ip_c: INTEGER_32, ip_d: INTEGER_32, a_port: INTEGER_32): INTEGER_32
net_udp (ip_a: INTEGER_32, ip_b: INTEGER_32, ip_c: INTEGER_32, ip_d: INTEGER_32, a_port: INTEGER_32): INTEGER_32
net_local (a_port: INTEGER_32): INTEGER_32
net_select (a_fd: INTEGER_32, a_timeout: REAL_64): INTEGER_32
net_read (a_fd: INTEGER_32, a_count: INTEGER_32, a_buffer: POINTER, sync: BOOLEAN): INTEGER_32
net_write (a_fd: INTEGER_32, a_count: INTEGER_32, a_buffer: NATIVE_ARRAY[CHARACTER]): INTEGER_32
net_accept (a_fd: INTEGER_32, a_val: NATIVE_ARRAY[INTEGER_32])
net_disconnect (a_fd: INTEGER_32)
net_shutdown (a_fd: INTEGER_32)
net_last_error: POINTER
net_last_error_number: INTEGER_32
net_hostname (a_hostname: POINTER): INTEGER_32
net_tcp_server (port: INTEGER_32): INTEGER_32
net_udp_server (port: INTEGER_32): INTEGER_32
net_local_server (port: INTEGER_32): INTEGER_32