Revision history [back]

click to hide/show revision 1
initial version

unable to send information from server to client (alljoyn)

Hi, I am new in alljoyn/allseen. I am trying to send information of server to client. like list of process running on board, list of arguments etc

but unable to send information. I am getting on client information only. for this I have modified dochat function in chat.cc file

QStatus DoTheChat(void) { const int bufSize = 1024; char buf[bufSize]; QStatus status = ER_OK; while ((ER_OK == status) && (get_line(buf, bufSize, stdin))) {

     char* buf = listofarguments();                                                //here I have called my function 
      status = s_chatObj->SendChatSignal(buf);
}

return status;

}

I dont know where should I do modification to send information from server to client.

Please help me out.

unable to send information from server to client (alljoyn)

Hi, I am new in alljoyn/allseen. I am trying to send information of server to client. like list of process running on board, list of arguments etc

but unable to send information. I am getting on client information only. for this I have modified dochat function in chat.cc file

QStatus DoTheChat(void)
{
    const int bufSize = 1024;
    char buf[bufSize];
    QStatus status = ER_OK;
    while ((ER_OK == status) && (get_line(buf, bufSize, stdin))) {     

      char* buf = listofarguments();                                                //here I have called my function 
       status = s_chatObj->SendChatSignal(buf);
 }

 return status;
}

}

I dont know where should I do modification to send information from server to client.

Please help me out.