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?
| 1 | IO::Socket::INET |
| 0 | IO::Path |
| 0 | Channel |
| 0 | Supply |
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.