I write program for sending and receive data on 42001 port.
Writed on microsoft visual studio.
SendBuf[0]=0;
SendBuf[1]=0;
SendBuf[2]=0;
strcpy(SendBuf+4, "sensor-update \"ppp\" 49 ");
SendBuf[3]=strlen(SendBuf+4);
send(conn_socket,SendBuf,SendBuf[3]+,0);
If i send to scractch broadcast message, scratch is received this. if I send variable, scratch is not receive. Where I can mistake?
Offline
Is the "SendBuf" list required?
send(conn_socket,'sensor-update number 4')
What's the error you are getting?
Offline