Re: Avoiding string break...




Excuse-me, I'm using Gio::Socket::receive()&  Gio::Socket::send(), not
Gio::receive()&  Gio::send()...
You can acctually use Sockets as Streams, so you can use Gio::OutputStream::write() and Gio::InputStream::read(). In my opinion this is even the easier way to handle sockets because you can also use receive-events to avoid blocking calls.

With regards,

michi7x7


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