comparison core/client.cpp @ 32:12ee9a61e81d bbb_network

Increased length of input string to allow large numbers with many decimal positions
author Giulio Moro <giuliomoro@yahoo.it>
date Mon, 11 May 2015 12:10:53 +0100
parents 98aed580452a
children 4255ecbb9bec 579c86316008
comparison
equal deleted inserted replaced
30:8e3306340971 32:12ee9a61e81d
6 #include "../include/client.h" 6 #include "../include/client.h"
7 #include <unistd.h> 7 #include <unistd.h>
8 #include <rtdk.h> 8 #include <rtdk.h>
9 9
10 #define BUFF_LEN 1024 10 #define BUFF_LEN 1024
11 #define MAX_VAR_STRING 10 11 #define MAX_VAR_STRING 20
12 12
13 struct sockaddr_in outServer, inServer; 13 struct sockaddr_in outServer, inServer;
14 int outSock, inSock, n, length; 14 int outSock, inSock, n, length;
15 socklen_t fromlen; 15 socklen_t fromlen;
16 struct sockaddr_in from; 16 struct sockaddr_in from;