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
  • about 1 year ago
  • April 12, 2021
License

MIT License

Links
Synced at

Thu, 16 May 2024 15:45:39 GMT

Languages