rfbsrc: Port to GSocketClient
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 16 Mar 2016 22:48:49 +0000 (18:48 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 5 Apr 2016 17:34:07 +0000 (13:34 -0400)
commit21b322c8f32ebac3d7bebce108948fcfdd1f4003
tree17d05e8c4585d6bda22309d38d7b80fe1bedba65
parent4e0a5c101fc80121ee79d82838b39ae8bc789047
rfbsrc: Port to GSocketClient

Using GSocketClient we can simplify a lot the read/write operation.
This also provide an GSocketConnection (a GIOStream) which can then
be used with the GTlsClientConnection for secure connections. Note
that we use _write_all() to ensure all bytes have been read. This is
to follow the fact the none of the _send() calls check the return
value.
gst/librfb/Makefile.am
gst/librfb/gstrfbsrc.c
gst/librfb/rfbdecoder.c
gst/librfb/rfbdecoder.h