Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
named pipe problem on Win32
Daniel Berger
11/21/2003 11:37:00 PM
Hi all,
I'm trying to get a named-pipe module built for Ruby
for Win32. I've largely been using the Perl version
as a basis for my own code. I've run into a little
snag - the pipes can talk to each other, but all I
ever get is a single character.
I've checked the code that I have so far into CVS on
RubyForge. It's a bit long, so I'd rather not post
here. You can find it at:
http://rubyforge.org/scm/?g...
Included are a sample client and server program under
the 'test' directory. To test, simply open 2
terminals, start the server first, then start the
client. You'll see what I mean.
Any and all help appreciated.
Regards,
Dan
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion....
1 Answer
Park Heesob
11/22/2003 1:49:00 AM
0
Hi,
----- Original Message -----
From: "Daniel Berger" <djberg96@yahoo.com>
To: "ruby-talk ML" <ruby-talk@ruby-lang.org>
Sent: Saturday, November 22, 2003 8:37 AM
Subject: named pipe problem on Win32
> Hi all,
>
> I'm trying to get a named-pipe module built for Ruby
> for Win32. I've largely been using the Perl version
> as a basis for my own code. I've run into a little
> snag - the pipes can talk to each other, but all I
> ever get is a single character.
>
> I've checked the code that I have so far into CVS on
> RubyForge. It's a bit long, so I'd rather not post
> here. You can find it at:
>
>
http://rubyforge.org/scm/?g...
>
> Included are a sample client and server program under
> the 'test' directory. To test, simply open 2
> terminals, start the server first, then start the
> client. You'll see what I mean.
>
> Any and all help appreciated.
>
> Regards,
>
> Dan
>
Probably you need more sleep :-)
In pipe.c line 158 insert this:
strcpy(lpBuffer,RSTRING(rbData)->ptr);
Regards,
Park Heesob
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
named pipe problem on Win32
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password