Re: [Vala] disable free at block end



On Thu, 2016-03-10 at 13:22 -0500, Guillaume Poirier-Morency wrote:
Unless you are doing something very specific, use SocketService, it
has
a much simpler interface:

http://valadoc.org/#!api=gio-2.0/GLib.SocketService

The SocketConnection is an IOStream, so you have access to
input_stream.read_all, which will perform a complete read for the
requested buffer size.

Forgot SocketConnection is there. I'll use it. Thanks for pointing.

Thanks,
Mohan R


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