:- use_module(library(socket)).
inet
inet6
unix
local
stream
dgram
This predicate subsumes tcp_socket/1, udp_socket/1 and unix_domain_socket/1.