12

I'm writing a Telnet library, and one of the commands requires setting the URGENT flag on the TCP packet sent according to RFC854:

The Synch is sent via the TCP send operation with the Urgent flag set and the DM as the last (or only) data octet.

How can I do this?

Community
  • 1
  • 1
Kaiepi
  • 3,230
  • 7
  • 27
  • 8
    This isn't supported at the present. You could look to see if it has been reported, and if not report it yourself. – Brad Gilbert Jun 16 '18 at 22:21
  • 3
    @Close-voter How exactly is setting one bit in a `send()` flag 'too broad'? – user207421 Jun 17 '18 at 05:08
  • IO::Socket::INET supports getting file descriptors now, and IO::Socket::Async is being worked on. It'd be possible to use NativeCall to do this once more people use the versions of Rakudo that have it – Kaiepi Aug 09 '18 at 06:45

0 Answers0