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.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...