UDP comms to ROV
Revision 2:48524892982c, committed 2012-01-16
- Comitter:
- inky
- Date:
- Mon Jan 16 17:32:54 2012 +0000
- Parent:
- 1:f51739cada16
- Commit message:
Changed in this revision
RovComms.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/RovComms.cpp Mon Jan 16 17:17:58 2012 +0000 +++ b/RovComms.cpp Mon Jan 16 17:32:54 2012 +0000 @@ -137,8 +137,9 @@ { case UDPSOCKET_READABLE: { - Host client; - int len = UdpSkt->recvfrom(iRxData, MAX_BUFFER_SIZE, &client); + Receive(); + //Host client; + //int len = UdpSkt->recvfrom(iRxData, MAX_BUFFER_SIZE, &client); //printf("Connected from %d.%d.%d.%d\r\n", (unsigned char)client->getIp()[0], (unsigned char)client->getIp()[1], // (unsigned char)client->getIp()[2], (unsigned char)client->getIp()[3]); break;