Re: [Vala] ZeroMQ bindings?

2011-03-01 Thread Chris Wj
I think the best place to check is the zeromq site that lists the bindings. I would certainly use them if you make them! On Sun, Feb 20, 2011 at 2:01 AM, Jason E. Aten j.e.a...@gmail.com wrote: Dear Vala developers, Are there ZeroMQ (www.*zeromq*.org) bindings available for Vala? If not, I

[Vala] Vala 0.11.6 How do I copy a file using GInputStream and GOutputStream?

2011-03-01 Thread Graham Whelan
Hi, I'm trying to copy a file using GLib.InputStream and GLib.OutputStream but the copied file ends up corrupted. Sample code: uint8 buffer[4096]; size_t read; while (true) { read = input.read (buffer); if (read 0) { output.write (buffer); } else {

Re: [Vala] Vala 0.11.6 How do I copy a file using GInputStream and GOutputStream?

2011-03-01 Thread Jürg Billeter
On Tue, 2011-03-01 at 18:21 +, Graham Whelan wrote: I'm trying to copy a file using GLib.InputStream and GLib.OutputStream but the copied file ends up corrupted. Sample code: uint8 buffer[4096]; size_t read; while (true) { read = input.read (buffer); if (read 0) {

Re: [Vala] ZeroMQ bindings?

2011-03-01 Thread Lewis Gunsch
I would also be interested in ZeroMQ bindings, perhaps even helping write them. It's quite a useful library. Cheers, ~Lewis On Tue, Mar 1, 2011 at 9:46 AM, Chris Wj chris...@gmail.com wrote: I think the best place to check is the zeromq site that lists the bindings. I would certainly use them

Re: [Vala] Vala 0.11.6 How do I copy a file using GInputStream and GOutputStream?

2011-03-01 Thread Graham Whelan
On 1 March 2011 18:29, Jürg Billeter j...@bitron.ch wrote: On Tue, 2011-03-01 at 18:21 +, Graham Whelan wrote: I'm trying to copy a file using GLib.InputStream and GLib.OutputStream but the copied file ends up corrupted. Sample code: uint8 buffer[4096]; size_t read; while (true) {    

Re: [Vala] Vala 0.11.6 How do I copy a file using GInputStream and GOutputStream?

2011-03-01 Thread Frederik
On 03/01/2011 07:21 PM, Graham Whelan wrote: Hi, I'm trying to copy a file using GLib.InputStream and GLib.OutputStream but the copied file ends up corrupted. Sample code: uint8 buffer[4096]; size_t read; while (true) { read = input.read (buffer); if (read 0) {