Skip to content

84codes/fdpass.cr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published