fdpass.cr

FDPass

Pass a file descriptor over a UNIX socket.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      fdpass:
        github: 84codes/fdpass.cr
    
  2. Run shards install

Usage

require "fdpass"
FDPass.send_fd(unix_socket.fd, socket_to_pass.fd)
Repository

fdpass.cr

Owner
Statistic
  • 1
  • 1
  • 0
  • 1
  • 0
  • 28 days ago
  • April 12, 2021
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 21:16:37 GMT

Languages