c9469b64fc3933d0565ffba8a45be8a39df6b927
Stefan Schuermans cleanup file headers after...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c   1) /* BlinkenLib
Stefan Schuermans update email address of author

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c   2)    Copyright 2004-2014 Stefan Schuermans <stefan@schuermans.info>
Stefan Schuermans cleanup file headers after...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c   3)    Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
BlinkenLib/BlinkenRecv.c   4)    a blinkenarea.org project */
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c              5) 
BlinkenRecv.c              6) #include <stdio.h>
BlinkenRecv.c              7) #include <stdlib.h>
BlinkenRecv.c              8) #include <string.h>
Christian Heimke BlinkenLib v.0.5.2 (2006-05...

Christian Heimke authored 13 years ago

BlinkenRecv.c              9) #ifdef WIN32
BlinkenRecv.c             10) #include <winsock2.h>
Stefan Schuermans update Windows support

Stefan Schuermans authored 7 years ago

BlinkenLib/BlinkenRecv.c  11) #include <ws2tcpip.h>
Christian Heimke BlinkenLib v.0.5.2 (2006-05...

Christian Heimke authored 13 years ago

BlinkenRecv.c             12) #define close closesocket
BlinkenRecv.c             13) #else
Christian Heimke BlinkenLib v.0.5.1 (2005-12...

Christian Heimke authored 13 years ago

BlinkenRecv.c             14) #include <unistd.h>
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c             15) #include <sys/types.h>
BlinkenRecv.c             16) #include <sys/socket.h>
BlinkenRecv.c             17) #include <netinet/in.h>
BlinkenRecv.c             18) #include <arpa/inet.h>
Christian Heimke BlinkenLib v.0.5.2 (2006-05...

Christian Heimke authored 13 years ago

BlinkenRecv.c             19) #endif
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c             20) 
Christian Heimke BlinkenLib v.0.5.5 (2008-03...

Christian Heimke authored 13 years ago

BlinkenLib/BlinkenRecv.c  21) #include <BlinkenLib/BlinkenLib.h>
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c  22) #include "Tools2.h"
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c             23) 
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c  24) int main(int argCnt, char **args)
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c             25) {
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c  26)   int i, bound, val, timeout, ipv6;
BlinkenLib/BlinkenRecv.c  27)   SOCKET udpSocket, tmpSock;
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c             28)   struct sockaddr_in addr;
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c  29)   struct sockaddr_in6 addr6;
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c  30)   stBlinkenMovie *pMovie;
BlinkenLib/BlinkenRecv.c  31) 
BlinkenLib/BlinkenRecv.c  32)   // print info
BlinkenLib/BlinkenRecv.c  33)   printf("BlinkenLib - BlinkenRecv\n"
BlinkenLib/BlinkenRecv.c  34)          "version %d.%d.%d\n"
BlinkenLib/BlinkenRecv.c  35)          "config " BLINKENLIB_CONFIG "\n"
Stefan Schuermans update email address of author

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c  36)          "Copyright 2004-2014 Stefan Schuermans <stefan@schuermans.info>\n"
Stefan Schuermans cleanup file headers after...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c  37)          "Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html\n"
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c  38)          "a blinkenarea.org project\n\n",
BlinkenLib/BlinkenRecv.c  39)          BLINKENLIB_VERSION_MAJOR, BLINKENLIB_VERSION_MINOR,
BlinkenLib/BlinkenRecv.c  40)          BLINKENLIB_VERSION_REVISION);
BlinkenLib/BlinkenRecv.c  41) 
BlinkenLib/BlinkenRecv.c  42)   // print syntax
BlinkenLib/BlinkenRecv.c  43)   if (argCnt <= 1) {
Stefan Schuermans output proper list of file...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c  44) #ifdef BLINKENLIB_CFG_MNG
BlinkenLib/BlinkenRecv.c  45) # define MNGEXT ", *.mng"
BlinkenLib/BlinkenRecv.c  46) #else
BlinkenLib/BlinkenRecv.c  47) # define MNGEXT
Stefan Schuermans include gif in help of Blin...

Stefan Schuermans authored 7 years ago

BlinkenLib/BlinkenRecv.c  48) #endif
BlinkenLib/BlinkenRecv.c  49) #ifdef BLINKENLIB_CFG_GIF
BlinkenLib/BlinkenRecv.c  50) # define GIFEXT ", *.gif"
BlinkenLib/BlinkenRecv.c  51) #else
BlinkenLib/BlinkenRecv.c  52) # define GIFEXT
Stefan Schuermans output proper list of file...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c  53) #endif
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c  54)     printf("syntax: %s <parameter> [...]\n\n"
BlinkenLib/BlinkenRecv.c  55)            "parameters:\n"
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c  56)            "  -4\n"
BlinkenLib/BlinkenRecv.c  57)            "     use IPv4 (default for now, subject to change)\n"
BlinkenLib/BlinkenRecv.c  58)            "  -6\n"
BlinkenLib/BlinkenRecv.c  59)            "     use IPv6\n"
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c  60)            "  -l [<ip>:]<port>\n"
BlinkenLib/BlinkenRecv.c  61)            "     local address (defaults to 0.0.0.0:2323)\n"
BlinkenLib/BlinkenRecv.c  62)            "     must occur before -r and -o, may only occur once\n"
BlinkenLib/BlinkenRecv.c  63)            "  -r <ip>[:<port>]\n"
BlinkenLib/BlinkenRecv.c  64)            "     remote addess (defaults to every remote address)\n"
BlinkenLib/BlinkenRecv.c  65)            "  -t <milliseconds>\n"
BlinkenLib/BlinkenRecv.c  66)            "     set timeout (to detect movie end, defaults to 5000)\n"
BlinkenLib/BlinkenRecv.c  67)            "  -o <file>\n"
Stefan Schuermans include gif in help of Blin...

Stefan Schuermans authored 7 years ago

BlinkenLib/BlinkenRecv.c  68)            "     receive movie and write it to file (*.blm, *.bmm, *.bml, *.bbm" MNGEXT GIFEXT ")\n\n",
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c  69)            args[0]);
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c             70)     return 0;
BlinkenRecv.c             71)   }
Christian Heimke BlinkenLib v.0.5.2 (2006-05...

Christian Heimke authored 13 years ago

BlinkenRecv.c             72) #ifdef WIN32
BlinkenRecv.c             73)   {
BlinkenRecv.c             74)     WSADATA WsaData;
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c  75)     WSAStartup(0x0101, &WsaData);
Christian Heimke BlinkenLib v.0.5.2 (2006-05...

Christian Heimke authored 13 years ago

BlinkenRecv.c             76)   }
BlinkenRecv.c             77) #endif
BlinkenRecv.c             78) 
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c  79)   // create UDP socket
BlinkenLib/BlinkenRecv.c  80)   ipv6 = 0;
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c  81)   udpSocket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
BlinkenLib/BlinkenRecv.c  82)   if (udpSocket == INVALID_SOCKET) {
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c  83)     printf("cannot create IPv4 UDP socket\n");
Christian Heimke BlinkenLib v.0.5.2 (2006-05...

Christian Heimke authored 13 years ago

BlinkenRecv.c             84) #ifdef WIN32
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c  85)     WSACleanup();
Christian Heimke BlinkenLib v.0.5.2 (2006-05...

Christian Heimke authored 13 years ago

BlinkenRecv.c             86) #endif
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c             87)     return -1;
BlinkenRecv.c             88)   }
BlinkenRecv.c             89)   bound = 0;
BlinkenRecv.c             90) 
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c  91)   // process parameters
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c             92)   timeout = 5000;
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c  93)   for (i = 1; i < argCnt; i++) {
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c             94) 
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c  95)     // IPv4
BlinkenLib/BlinkenRecv.c  96)     if (strcmp(args[i], "-4") == 0) {
BlinkenLib/BlinkenRecv.c  97)       if (ipv6) {
BlinkenLib/BlinkenRecv.c  98)         // replace socket with new IPv4 UDP socket
BlinkenLib/BlinkenRecv.c  99)         tmpSock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
BlinkenLib/BlinkenRecv.c 100)         if (tmpSock != INVALID_SOCKET) {
BlinkenLib/BlinkenRecv.c 101)           close(udpSocket);
BlinkenLib/BlinkenRecv.c 102)           udpSocket = tmpSock;
BlinkenLib/BlinkenRecv.c 103)           ipv6 = 0;
BlinkenLib/BlinkenRecv.c 104)         } else {
BlinkenLib/BlinkenRecv.c 105)           printf("cannot create IPv4 UDP socket\n");
BlinkenLib/BlinkenRecv.c 106)         }
BlinkenLib/BlinkenRecv.c 107)       }
BlinkenLib/BlinkenRecv.c 108)     }
BlinkenLib/BlinkenRecv.c 109)     // IPv6
BlinkenLib/BlinkenRecv.c 110)     else if (strcmp(args[i], "-6") == 0) {
BlinkenLib/BlinkenRecv.c 111)       if (!ipv6) {
BlinkenLib/BlinkenRecv.c 112)         // replace socket with new IPv6 UDP socket
BlinkenLib/BlinkenRecv.c 113)         tmpSock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP);
BlinkenLib/BlinkenRecv.c 114)         if (tmpSock != INVALID_SOCKET) {
BlinkenLib/BlinkenRecv.c 115)           close(udpSocket);
BlinkenLib/BlinkenRecv.c 116)           udpSocket = tmpSock;
BlinkenLib/BlinkenRecv.c 117)           ipv6 = 1;
BlinkenLib/BlinkenRecv.c 118)         } else {
BlinkenLib/BlinkenRecv.c 119)           printf("cannot create IPv6 UDP socket\n");
BlinkenLib/BlinkenRecv.c 120)         }
BlinkenLib/BlinkenRecv.c 121)       }
BlinkenLib/BlinkenRecv.c 122)     }
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 123)     // local address
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c 124)     else if (strcmp(args[i], "-l") == 0) {
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 125)       if (i + 1 < argCnt) {
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            126)         i++;
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c 127)         if (!ipv6) {
BlinkenLib/BlinkenRecv.c 128)           if (!txt2addr(args[i], &addr) ||
BlinkenLib/BlinkenRecv.c 129)               bind(udpSocket, (struct sockaddr *)&addr, sizeof(addr)) != 0)
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 130)             printf("could not set local address to \"%s\"\n", args[i]);
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            131)           else
BlinkenRecv.c            132)             bound = 1;
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c 133)         } else {
BlinkenLib/BlinkenRecv.c 134)           if (!txt2addr6(args[i], &addr6) ||
BlinkenLib/BlinkenRecv.c 135)               bind(udpSocket, (struct sockaddr *)&addr6, sizeof(addr6)) != 0)
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 136)             printf("could not set local address to \"%s\"\n", args[i]);
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            137)           else
BlinkenRecv.c            138)             bound = 1;
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c 139)         }
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 140)       } else
BlinkenLib/BlinkenRecv.c 141)         printf("missing local address for \"-l\"\n");
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            142)     }
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 143)     // remote address
BlinkenLib/BlinkenRecv.c 144)     else if (strcmp(args[i], "-r") == 0) {
BlinkenLib/BlinkenRecv.c 145)       if (i + 1 < argCnt) {
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            146)         i++;
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c 147)         if (!ipv6) {
BlinkenLib/BlinkenRecv.c 148)           if (!txt2addr(args[i], &addr) ||
BlinkenLib/BlinkenRecv.c 149)               bind(udpSocket, (struct sockaddr *)&addr, sizeof(addr)) != 0)
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 150)             printf("could not set remote address to \"%s\"\n", args[i]);
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c 151)         } else {
BlinkenLib/BlinkenRecv.c 152)           if (!txt2addr6(args[i], &addr6) ||
BlinkenLib/BlinkenRecv.c 153)               bind(udpSocket, (struct sockaddr *)&addr6, sizeof(addr6)) != 0)
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 154)             printf("could not set remote address to \"%s\"\n", args[i]);
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c 155)         }
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 156)       } else
BlinkenLib/BlinkenRecv.c 157)         printf("missing remote address for \"-r\"\n");
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            158)     }
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 159)     // timeout
BlinkenLib/BlinkenRecv.c 160)     else if (strcmp(args[i], "-t") == 0) {
BlinkenLib/BlinkenRecv.c 161)       if (i + 1 < argCnt) {
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            162)         i++;
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 163)         if (sscanf(args[i], "%u", &val) == 1)
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            164)           timeout = val;
BlinkenRecv.c            165)         else
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 166)           printf("invalid timeout value \"%s\"\n", args[i]);
BlinkenLib/BlinkenRecv.c 167)       } else
BlinkenLib/BlinkenRecv.c 168)         printf("missing timeout value for \"-t\"\n");
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            169)     }
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 170)     // receive movie and write it to file
BlinkenLib/BlinkenRecv.c 171)     else if (strcmp(args[i], "-o") == 0) {
BlinkenLib/BlinkenRecv.c 172)       if (i + 1 < argCnt) {
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            173)         i++;
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 174)         if (!bound)     // try to bind if not bound
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            175)         {
Stefan Schuermans add IPv6 support to Blinken...

Stefan Schuermans authored 10 years ago

BlinkenLib/BlinkenRecv.c 176)           if (!ipv6) {
BlinkenLib/BlinkenRecv.c 177)             printf("no local address to receive movie for file \"%s\" to,\n"
BlinkenLib/BlinkenRecv.c 178)                    "  using default local address \"0.0.0.0:2323\"\n",
BlinkenLib/BlinkenRecv.c 179)                    args[i]);
BlinkenLib/BlinkenRecv.c 180)             if (!txt2addr("127.0.0.1:2323", &addr) ||
BlinkenLib/BlinkenRecv.c 181)                 bind(udpSocket, (struct sockaddr *)&addr, sizeof(addr)) != 0)
BlinkenLib/BlinkenRecv.c 182)               printf("could not set local address to \"127.0.0.1:2323\"\n");
BlinkenLib/BlinkenRecv.c 183)             else
BlinkenLib/BlinkenRecv.c 184)               bound = 1;
BlinkenLib/BlinkenRecv.c 185)           } else {
BlinkenLib/BlinkenRecv.c 186)             printf("no local address to receive movie for file \"%s\" to,\n"
BlinkenLib/BlinkenRecv.c 187)                    "  using default local address \"[::1]:2323\"\n",
BlinkenLib/BlinkenRecv.c 188)                    args[i]);
BlinkenLib/BlinkenRecv.c 189)             if (!txt2addr6("[::1]:2323", &addr6) ||
BlinkenLib/BlinkenRecv.c 190)                 bind(udpSocket, (struct sockaddr *)&addr6, sizeof(addr6)) != 0)
BlinkenLib/BlinkenRecv.c 191)               printf("could not set local address to \"[::1]:2323\"\n");
BlinkenLib/BlinkenRecv.c 192)             else
BlinkenLib/BlinkenRecv.c 193)               bound = 1;
BlinkenLib/BlinkenRecv.c 194)           }
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            195)         }
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 196)         if (bound) {
BlinkenLib/BlinkenRecv.c 197)           printf("receiving movie for file \"%s\"...\n", args[i]);
BlinkenLib/BlinkenRecv.c 198)           pMovie = BlinkenMovieReceive(udpSocket, timeout, NULL);
BlinkenLib/BlinkenRecv.c 199)           if (pMovie == NULL)
BlinkenLib/BlinkenRecv.c 200)             printf("could not receive movie for file \"%s\"\n", args[i]);
BlinkenLib/BlinkenRecv.c 201)           else {
BlinkenLib/BlinkenRecv.c 202)             if (BlinkenMovieSave(pMovie, args[i]) < 0)
BlinkenLib/BlinkenRecv.c 203)               printf("could not write movie \"%s\"\n", args[i]);
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            204)             else
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 205)               printf("movie \"%s\" written\n", args[i]);
BlinkenLib/BlinkenRecv.c 206)             BlinkenMovieFree(pMovie);
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            207)           }
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 208)         } else
BlinkenLib/BlinkenRecv.c 209)           printf("no local address set to receive movie for file \"%s\" on\n",
BlinkenLib/BlinkenRecv.c 210)                  args[i]);
BlinkenLib/BlinkenRecv.c 211)       } else
BlinkenLib/BlinkenRecv.c 212)         printf("missing output filename for \"-o\"\n");
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            213)     }
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 214)     // unknown parameter
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            215)     else
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 216)       printf
BlinkenLib/BlinkenRecv.c 217)           ("unknown parameter \"%s\", call without parameters to get help\n",
BlinkenLib/BlinkenRecv.c 218)            args[i]);
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            219) 
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 220)   }     // for( i ...
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            221) 
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 222)   // close socket
BlinkenLib/BlinkenRecv.c 223)   close(udpSocket);
Christian Heimke BlinkenLib v.0.4 (2005-07-02)

Christian Heimke authored 13 years ago

BlinkenRecv.c            224) 
Christian Heimke BlinkenLib v.0.5.2 (2006-05...

Christian Heimke authored 13 years ago

BlinkenRecv.c            225) #ifdef WIN32
Stefan Schuermans changed indenting to be mor...

Stefan Schuermans authored 13 years ago

BlinkenLib/BlinkenRecv.c 226)   WSACleanup();
Christian Heimke BlinkenLib v.0.5.2 (2006-05...

Christian Heimke authored 13 years ago

BlinkenRecv.c            227) #endif