#ifdef ETRAX
-const char trbnet_version[] = "$Revision: 4.32 $ Local Etrax";
+const char trbnet_version[] = "$Revision: 4.33 $ Local Etrax";
#elif defined PEXOR
-const char trbnet_version[] = "$Revision: 4.32 $ Local Pexor";
+const char trbnet_version[] = "$Revision: 4.33 $ Local Pexor";
#elif defined TRB3
-const char trbnet_version[] = "$Revision: 4.32 $ Local TRB3";
+const char trbnet_version[] = "$Revision: 4.33 $ Local TRB3";
#else
-const char trbnet_version[] = "$Revision: 4.32 $ UNKNOWN, i.e. ERROR";
+const char trbnet_version[] = "$Revision: 4.33 $ UNKNOWN, i.e. ERROR";
#endif
#include <stdlib.h>
static int getUDPPackage()
{
- static struct sockaddr_in in_addr;
- static socklen_t in_addr_len;
-
+ struct sockaddr_in in_addr;
+ socklen_t in_addr_len = sizeof(struct sockaddr_in);
int status;
int i;
}
/* Read Data */
- in_addr_len = sizeof(struct sockaddr_in);
status = recvfrom(trb3_sockfd,
(void*)dataBuffer,
65536,