Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is there an alternative solution to this? [Solved] Pin
James R. Twine18-Oct-07 1:44
James R. Twine18-Oct-07 1:44 
GeneralRe: Is there an alternative solution to this? [Solved] [modified] Pin
Nelek18-Oct-07 2:21
protectorNelek18-Oct-07 2:21 
QuestionWireless network Adapter Interface GUID... WM_DEVICECHANGE Pin
Ravinder Are18-Oct-07 0:47
Ravinder Are18-Oct-07 0:47 
Questionsocket programming Pin
laggraw18-Oct-07 0:45
laggraw18-Oct-07 0:45 
AnswerRe: socket programming Pin
Parthi_Appu18-Oct-07 0:55
Parthi_Appu18-Oct-07 0:55 
GeneralRe: socket programming Pin
laggraw23-Oct-07 23:00
laggraw23-Oct-07 23:00 
AnswerRe: socket programming Pin
Cedric Moonen18-Oct-07 1:40
Cedric Moonen18-Oct-07 1:40 
GeneralRe: socket programming Pin
laggraw23-Oct-07 22:50
laggraw23-Oct-07 22:50 
Actually my client in VB, there we declared a string variable and we are appending data into that and after that we are sending data to the server which is in simple C language, where we declare a 512 byte buffer to collect the data.Data is of variable size vary between 76 to 83 byte.

Actually code is already written we just modifying it, perviously we are using this program on same host, but now our customer want to use this program on different host, so actually becoz buffer was very large so data is accumulating in the buffer before reading so we got some accumulated data and some corrupt data also.

Now what we did we just filling rest of the space of buffer by'*'(on client side) and taking the correct data on server side upto 1st '*' is encounter.

But in this approach we are facing one more problem we faced that some times data is correct some time some bytes of data is coming between '*'
like

correct data:
115237887261448874974239*****************************************************
uncorrect data:
********************************78798****************************************

i am not able to understand why these byte coming in between '*'.

Sorry sir our code is simple on like any other simple program, but i cant share u may code.




thanks
Lalit Aggarwal
GeneralRe: socket programming Pin
Cedric Moonen23-Oct-07 23:17
Cedric Moonen23-Oct-07 23:17 
QuestionProblem with Active x control Pin
santhi_malli18-Oct-07 0:28
santhi_malli18-Oct-07 0:28 
Question???? to the right content, urgent Pin
monsieur_jj18-Oct-07 0:07
monsieur_jj18-Oct-07 0:07 
QuestionRe: ???? to the right content, urgent Pin
Nelek18-Oct-07 1:08
protectorNelek18-Oct-07 1:08 
AnswerRe: ???? to the right content, urgent Pin
ShilpiP18-Oct-07 2:31
ShilpiP18-Oct-07 2:31 
Questioninstrumentation & graph controls Pin
m_shezy17-Oct-07 23:56
m_shezy17-Oct-07 23:56 
AnswerRe: instrumentation & graph controls Pin
Cedric Moonen18-Oct-07 0:14
Cedric Moonen18-Oct-07 0:14 
QuestionHotkey usage for CTreeCtrl Pin
Priya_Sundar17-Oct-07 23:09
Priya_Sundar17-Oct-07 23:09 
QuestionInherit CScrollBar Pin
paresh_joe17-Oct-07 23:01
paresh_joe17-Oct-07 23:01 
AnswerRe: Inherit CScrollBar Pin
Hamid_RT18-Oct-07 0:38
Hamid_RT18-Oct-07 0:38 
AnswerRe: Inherit CScrollBar Pin
Hamid_RT18-Oct-07 0:43
Hamid_RT18-Oct-07 0:43 
QuestionRemote debugging a program which has crashed in Visual Studio (C++) Pin
JC907917-Oct-07 22:58
JC907917-Oct-07 22:58 
AnswerRe: Remote debugging a program which has crashed in Visual Studio (C++) Pin
Nelek18-Oct-07 2:46
protectorNelek18-Oct-07 2:46 
QuestionHot key problem with Win (ModWin) key! [SOLVED] Pin
josip cagalj17-Oct-07 22:13
josip cagalj17-Oct-07 22:13 
AnswerRe: Hot key problem with Win (ModWin) key! Pin
Hamid_RT18-Oct-07 0:48
Hamid_RT18-Oct-07 0:48 
GeneralRe: Hot key problem with Win (ModWin) key! Pin
josip cagalj18-Oct-07 1:16
josip cagalj18-Oct-07 1:16 
GeneralRe: Hot key problem with Win (ModWin) key! Pin
Hamid_RT18-Oct-07 3:37
Hamid_RT18-Oct-07 3:37 

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.