Skip to content

Instantly share code, notes, and snippets.

@barneywilliams
Created September 20, 2012 14:37
Show Gist options
  • Save barneywilliams/3756306 to your computer and use it in GitHub Desktop.
Save barneywilliams/3756306 to your computer and use it in GitHub Desktop.
JSONSocket - Qt QTcpSocket creation and wiring up
tcpSocket = new QTcpSocket(this);
...
Q_ASSERT(connect(tcpSocket, SIGNAL(readyRead()), this, SLOT(ProcessRequest())));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment