Course of Raku / Functional, concurrent, reactive, and web programming / Web programming / Making remote connections / Opening a socket

Quiz — Sockets

Which core Raku class opens a TCP network connection?

1IO::Socket::INET
0IO::Path
0Channel
0Supply

IO::Socket::INET is the core class for TCP sockets. It works both as a client (connecting to a server) and as a server (listening for connections), and needs no extra modules.

Course navigation

Opening a socket   |   Sending and receiving