requesting and receiving rref
but currently the value is buggy
This commit is contained in:
@@ -14,13 +14,13 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
// network
|
||||
xPlaneSocket = connectXPlane(SERVER, PORT);
|
||||
xPlaneSocket = connectXPlane(DEST_SERVER, DEST_PORT, SRC_PORT);
|
||||
if (xPlaneSocket < 0) {
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
// send payload
|
||||
if (sendToXPlane(xPlaneSocket, "CMND", argv[1]) < 0) {
|
||||
if (sendToXPlane(xPlaneSocket, "CMND", argv[1], strlen(argv[1])) < 0) {
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user