Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Naive Bayes Pin
led mike30-Oct-07 4:39
led mike30-Oct-07 4:39 
Questionhow can i forbid anyone else to change the time of the computer? Pin
lostangels30-Oct-07 3:37
lostangels30-Oct-07 3:37 
AnswerRe: how can i forbid anyone else to change the time of the computer? Pin
Nelek30-Oct-07 4:08
protectorNelek30-Oct-07 4:08 
AnswerRe: how can i forbid anyone else to change the time of the computer? Pin
led mike30-Oct-07 4:41
led mike30-Oct-07 4:41 
Questionhelp needed for MFC ritch GUI controls Pin
sarat12in30-Oct-07 3:28
sarat12in30-Oct-07 3:28 
AnswerRe: help needed for MFC ritch GUI controls Pin
Dewm Solo30-Oct-07 3:51
Dewm Solo30-Oct-07 3:51 
AnswerRe: help needed for MFC ritch GUI controls Pin
led mike30-Oct-07 4:43
led mike30-Oct-07 4:43 
Questionsend big message from client to server [modified] Pin
Russell'30-Oct-07 2:22
Russell'30-Oct-07 2:22 
I have to send a file from client to server.
It's size is about 1MB.
I think that it is not a good idea to send it as a single message because it can be received corrupted. This because the CRC is computed on the entire message, so if there is a lot of noise the CRC can tell OK, but the file isn't rightly received. Am I right?Confused | :confused:

I think that I can split the file in short messages, so there the CRC check can work well.
But:
* How can I choose the right value of the size of the messages (30 bytes? 100 bytes? 1kbyte?)
* Can you also please suggest to me a way to check if the file is corrupted using an algorithm not based on CRC?

thanks all
Smile | :)




-- modified at 8:37 Tuesday 30th October, 2007


* I'm using winsock (but I'm not an expert Cry | :(( ) (the trasmission is on a local ethernet network)
* I found a possible alternative algorithm of CRC to check the entire file at the end of trasmission: it is "RFC 1321" (or known as MD5). Does anyone used it before? It looks quite strong.


Russell

AnswerRe: send big message from client to server Pin
JudyL_MD30-Oct-07 2:27
JudyL_MD30-Oct-07 2:27 
AnswerRe: send big message from client to server Pin
Mark Salsbery30-Oct-07 7:15
Mark Salsbery30-Oct-07 7:15 
GeneralRe: send big message from client to server Pin
Russell'30-Oct-07 7:33
Russell'30-Oct-07 7:33 
GeneralRe: send big message from client to server Pin
Mark Salsbery30-Oct-07 8:03
Mark Salsbery30-Oct-07 8:03 
GeneralRe: send big message from client to server Pin
Russell'30-Oct-07 8:30
Russell'30-Oct-07 8:30 
GeneralRe: send big message from client to server Pin
Mark Salsbery30-Oct-07 8:06
Mark Salsbery30-Oct-07 8:06 
QuestionPC Controlled Relay Board Pin
thes3cr3t130-Oct-07 2:06
thes3cr3t130-Oct-07 2:06 
AnswerRe: PC Controlled Relay Board [modified] Pin
Rhymhoont30-Oct-07 4:41
Rhymhoont30-Oct-07 4:41 
Questionhow to get Row count in MS flexgrid Pin
panthal30-Oct-07 2:06
panthal30-Oct-07 2:06 
AnswerRe: how to get Row count in MS flexgrid Pin
chandu00430-Oct-07 2:17
chandu00430-Oct-07 2:17 
GeneralRe: how to get Row count in MS flexgrid[solved] Pin
panthal30-Oct-07 3:24
panthal30-Oct-07 3:24 
QuestionDeleting session cookies Pin
JanakaAtu30-Oct-07 1:27
JanakaAtu30-Oct-07 1:27 
Questionsetting no of lines in richedit conroll Pin
aamir ali30-Oct-07 1:12
aamir ali30-Oct-07 1:12 
AnswerRe: setting no of lines in richedit conroll Pin
KASR130-Oct-07 1:26
KASR130-Oct-07 1:26 
QuestionDLL newbie question [Solved] Pin
Nelek30-Oct-07 0:32
protectorNelek30-Oct-07 0:32 
GeneralRe: DLL newbie question Pin
Nelek30-Oct-07 1:23
protectorNelek30-Oct-07 1:23 
GeneralRe: DLL newbie question Pin
jhwurmbach30-Oct-07 2:32
jhwurmbach30-Oct-07 2:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.