index
:
xlgmokha/working-with-unix-processes.git
master
Unnamed repository; edit this file 'description' to name the repository.
git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
code
/
snippets
/
socketpair.rb
blob: 06ae044e1a8810013562a908bbd66559208cc6a8 (
plain
)
1
2
3
require 'socket' Socket.pair(:UNIX, :DGRAM, 0) #=> [#<Socket:fd 15>, #<Socket:fd 16>]