Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Perl 6 support udp protocol from IO::Socket::INET

Tags:

sockets

udp

raku

Why does IO::Socket::INET not support the UDP protocol?

like image 482
Shniperson Avatar asked Jun 17 '18 09:06

Shniperson


1 Answers

UDP is supported via IO::Socket::Async. UDP is connectionless, so this is the natural way to do it.

In principle, you could make IO::Socket::INET support UDP as well, but that's not necessarily a good idea...

like image 51
Christoph Avatar answered Sep 18 '22 10:09

Christoph