[mythtv] MythSocket class

Isaac Richards ijr at case.edu
Wed Apr 5 07:31:58 UTC 2006


On Tuesday 04 April 2006 21:08, Jim Westfall wrote:
> Hi
>
> I took a stab at making a MythSocket class that was talked about briefly
> last week.  Attached is what I have thus far.
>
> mythsocket.diff - main patch that adds MythSocket into libmyth without
> converting anything else.  Its based on QSocketDevice and adds readyRead,
> connectionClosed, connected, and connectionFailed callbacks.  It also has
> a connectToHost() function like QSocket to background the connect()
> process.  I still need to add dns lookup support.

I think I'd prefer an object that wasn't a QObject and didn't use a 
QSocketNotifier.  That's what's causing problems with using QSocket now.

Isaac


More information about the mythtv-dev mailing list