Re: g_io_channel_read_to_end read just 998 chars, not more

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Problem solved. I have a very very simple and noob error in my code.
GLib and PHP script works right.

Thanks to all!

2010/5/28 Tadej Borovšak <tadeboro@xxxxxxxxx>:
> Hi.
>
>>>Well there is nothing in Glib that limits data to 998, it just keeps
>>>reading and extending the buffer until it gets EOF.  Better look at
>>>the PHP side some more and how you are transferring the data.
>>
>> Can't be this because I have substitute my script for a echo with
>> thousands of letters and just 998 have been read by
>> g_io_channel_read_line and g_io_channel_read_end.
>
> Have you tried substituting your PHP script with some other source of
> data? Or maybe try reading data in chunks of 100 chars to see if this
> makes any difference.
>
> Tadej
>
> --
> Tadej Borovšak
> tadeboro.blogspot.com
> tadeboro@xxxxxxxxx
> tadej.borovsak@xxxxxxxxx
>



-- 
Thanks,
Frederico Schardong,
SOLIS - Open source solutions
www.solis.coop.br
Linux registered user #500582
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux