Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cgi-bin/sendcommand2nopadding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ int main (){
int b=1;
ServiceSend.setsockopt(ZMQ_RCVTIMEO, a);
ServiceSend.setsockopt(ZMQ_SNDTIMEO, a);
//ServiceSend.setsockopt(ZMQ_IMMEDIATE, b); this hangs the process if the connection cannot be made
// unfortunately without it, 'send' returns true even if the message is never actually sent...


if(debugf) *debugf << "connecting to socket" << std::endl;
std::stringstream connection;
Expand Down