- Documentation
- Reference manual
- Packages
- Transparent Inter-Process Communications (TIPC) libraries
- The TIPC libraries: library(tipc/...)
- library(tipc/tipc): TIPC Sockets
- tipc_socket/2
- tipc_close_socket/1
- tipc_open_socket/3
- tipc_bind/3
- tipc_listen/2
- tipc_accept/3
- tipc_connect/2
- tipc_get_name/2
- tipc_get_peer_name/2
- tipc_setopt/2
- tipc_receive/4
- tipc_send/4
- tipc_canonical_address/2
- tipc_service_exists/2
- tipc_service_exists/1
- tipc_service_probe/1
- tipc_service_probe/2
- tipc_service_port_monitor/2
- tipc_service_port_monitor/3
- tipc_initialize/0
- library(tipc/tipc): TIPC Sockets
- The TIPC libraries: library(tipc/...)
- Transparent Inter-Process Communications (TIPC) libraries
Availability:
:- use_module(library(tipc/tipc)).
- After tipc_accept/3, the server does a fork/1 to handle the client in a sub-process. In this case the accepted socket is not longer needed from the main server and must be discarded using tipc_close_socket/1.
- If, after discovering the connecting client with tipc_accept/3, the server does not want to accept the connection, it should discard the accepted socket immediately using tipc_close_socket/1.
SocketId | the socket identifier returned by tipc_socket/2 or tipc_accept/3. |