Code Monkey home page Code Monkey logo

win32-pipe's Introduction

== Description
  A Ruby interface for named pipes on Windows.

== Prerequisites
  ffi

== Installation
  gem install win32-pipe

== Synopsis
  require 'win32/pipe'
  include Win32
    
  # In server.rb
  pipe_server = Pipe::Server.new("foo_pipe")
  pipe_server.connect
  data = pipe_server.read
  puts "Got #{data} from client"
  pipe_server.close
   
  # In client.rb (run from a different shell)
  pipe_client = Pipe::Client.new("foo_pipe")
  pipe_client.write("Hello World")
  pipe_client.close

== What's a named pipe?
  A pipe with a name - literally. In practice, it will feel more like a cross
  between a socket and a pipe. At least, it does to me.

== What good is it?
  My hope is that it can be used in certain circumstances where a fork might
  be desirable, but which is not possible on Windows. It could also be handy
  for the traditional "piping data to a server" usage. And if you come up
  with anything cool, please let us all know!

== Contributions
  Although this library is free, please consider having your company
  setup a gittip if used by your company professionally.

  http://www.gittip.com/djberg96/

== Future Plans
  Add transactions

== License
  Artistic 2.0

== Warranty
  This package is provided "as is" and without any express or
  implied warranties, including, without limitation, the implied
  warranties of merchantability and fitness for a particular purpose.

== Copyright
  (C) 2003-2014, Daniel J. Berger, All Rights Reserved.

== Authors
  Daniel Berger
  Park Heesob

win32-pipe's People

Contributors

aogail avatar djberg96 avatar lionelperrin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.