Commits

Anonymous committed 778d4fb

Extended number for first package to 32 chars.

Comments (0)

Files changed (1)

 int main(int argc, char* argv[]) {
     HANDLE hComm;
     DCB dcb;
-    char send_data[512], recv_data[132], choose, buffer[8], x_paket[132];
+    char send_data[512], recv_data[132], choose, buffer[32], x_paket[132];
     long size, n, i, pos;
     int n_paket, z, l;
     FILE *fp;
                 if(number > 0) {
                     printf("Received %d bytes:\n", number, recv_data);
                     printf("--------\n");
-                    for(i=0; i<8; i++)
+                    for(i=0; i<32; i++)
                         buffer[i] = recv_data[3+i];
                     size = atoi(buffer);