Sockets
Sockets[] returns all active socket connections initiated by your current Wolfram Language session.
Sockets[All] returns all sockets connected to your current session, including remote sockets originating outside your current session.
Sockets[spec] returns only sockets specified by spec.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.