April 17th, 2010, 04:54 AM
Hello,
After some intense hacking my colleagues and I realized that we misunderstood the protocol... In fact the server was replying on another port! This seems a rather strange design...
...
April 16th, 2010, 06:07 AM
Hum, in fact I was sending too much data to the server...
Now select never returns...
April 16th, 2010, 03:47 AM
Hum, apparently this was not the cause...
April 15th, 2010, 03:23 PM
Hello,
I have realized that there is a nasty bug in my code (I don't send enough data to the server). I can't test now (it's too late) but I will keep you informed later...
April 15th, 2010, 02:07 PM
Hello,
The socket is open as usual:
*sockfd = socket(AF_INET, SOCK_STREAM, 0);
if (*sockfd < 0) {
sockerror("in connect_to_robot (socket creation)");
return DOCONNECT_FAIL;
...
April 15th, 2010, 12:14 PM
Hello everybody,
I'm not a socket expert but I have some experience with serial ports I/O under linux...
I am working on client/server project for a home-brew protocol. There was a previous...