I'm confused about what you mean by send to a data file? Or data queue? Are you talking about sockets -- sending packets via sockets to another computer? Or are you talking about copying a file 128 bytes at a time ?
The second part of your question is what i want to do...Im not using sockets. So something like this will read the file. The arg is the second argument in the command line so this will be the name of the file. But I need to convert that file into 128 packets or 122 byte packets so I can insert my checksum and a header to it too.
FILE * f1= fopen(arg,"r"); ///reads the file and that how far I am
Im confused myself. All i know is I have to read the file and convert it to packets then add a checksum and a header and then transfer it into a queue. So those packet will be in the queue and then I need to write a receive file that will read the packets and checksum them and write the results into a new file then i need to compare the original file with the file the receiver created to make sure they match...Im new to c and networking and this is way too hard.
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.