Changeset 112:58892a32a039 in xplra for test/basicctest.c


Ignore:
Timestamp:
12/23/22 09:10:52 (17 months ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 3 'hg:/home/ivaradi/xplane/hg/xplra' '/'>, 'public')
Message:

The test programs can be parameterized to connect over TCP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/basicctest.c

    r89 r112  
    3030
    3131#include <hu/varadiistvan/xplra/xplra.h>
     32
     33#include "ccommon.h"
    3234
    3335#include <stdio.h>
     
    5759//------------------------------------------------------------------------------
    5860
    59 int main()
     61int main(int argc, char* argv[])
    6062{
    6163    static const char* tailNum1 = "VAI";
     
    8688
    8789    printf("Connection to X-Plane...\n");
    88     int connectionID = xplra_connect();
     90    int connectionID = connect_xplane(argc, argv);
    8991
    9092    if (connectionID>=0) {
Note: See TracChangeset for help on using the changeset viewer.