//--------------------------------------------------------------
void testApp::keyPressed(int key)
{
	if (!publisher.send("this is a test"))
	{
		cout << "send failed" << endl;
	}
}
예제 #2
0
파일: testApp.cpp 프로젝트: toyoshim/ofxZmq
//--------------------------------------------------------------
void testApp::keyPressed(int key)
{
	publisher.send("this is a test");
}