Click here to Skip to main content
15,920,030 members
Home / Discussions / C#
   

C#

 
AnswerRe: user control interaction Pin
Code Soldier28-Dec-08 4:21
Code Soldier28-Dec-08 4:21 
GeneralRe: user control interaction Pin
Colin Angus Mackay28-Dec-08 6:58
Colin Angus Mackay28-Dec-08 6:58 
QuestionProblem with a byte array buffer Pin
ajorge200828-Dec-08 1:43
ajorge200828-Dec-08 1:43 
AnswerRe: Problem with a byte array buffer Pin
Richard Andrew x6428-Dec-08 3:00
professionalRichard Andrew x6428-Dec-08 3:00 
GeneralRe: Problem with a byte array buffer Pin
ajorge200828-Dec-08 3:23
ajorge200828-Dec-08 3:23 
GeneralRe: Problem with a byte array buffer Pin
Luc Pattyn28-Dec-08 14:35
sitebuilderLuc Pattyn28-Dec-08 14:35 
AnswerRe: Problem with a byte array buffer Pin
Wendelius28-Dec-08 12:02
mentorWendelius28-Dec-08 12:02 
GeneralRe: Problem with a byte array buffer Pin
ajorge200828-Dec-08 22:33
ajorge200828-Dec-08 22:33 
Hi to all!

The problem is still remaining. I'm going to tell you in a few points, what i'm doing.

The received data monitoring function is buffering the incoming data and when is received, it writes that data into a text file.

When i make the connection with the remote system, i receive the confirmation bytes and then, they're saved into the text file. After this, i'm sending a command to obtain my first packet from remote system and when i receive that packet, i want that to be saved in the same text file, from where i'm going to extract the packet counter to use in the rest of commands.

The problem here is that my program calls the function which is searching that packet counter before the data reaches the text file, and then appears the error: "Index was outside the bounds of the array."

I already tryed to introduce some Thread.Sleep calls, but is not resulting too.

Best Regards.
GeneralRe: Problem with a byte array buffer Pin
ajorge200829-Dec-08 0:32
ajorge200829-Dec-08 0:32 
GeneralRe: Problem with a byte array buffer Pin
ajorge200829-Dec-08 6:13
ajorge200829-Dec-08 6:13 
QuestionShowing multiple forms inside a single form Pin
shaf21127-Dec-08 23:19
shaf21127-Dec-08 23:19 
AnswerRe: Showing multiple forms inside a single form Pin
#realJSOP27-Dec-08 23:50
professional#realJSOP27-Dec-08 23:50 
GeneralRe: Showing multiple forms inside a single form Pin
shaf21129-Dec-08 22:18
shaf21129-Dec-08 22:18 
AnswerRe: Showing multiple forms inside a single form Pin
Code Soldier28-Dec-08 4:47
Code Soldier28-Dec-08 4:47 
GeneralRe: Showing multiple forms inside a single form Pin
shaf21129-Dec-08 22:22
shaf21129-Dec-08 22:22 
QuestionActiveX PDF problem Pin
frappydan27-Dec-08 23:10
frappydan27-Dec-08 23:10 
QuestionVPN programmin Pin
sepel27-Dec-08 23:01
sepel27-Dec-08 23:01 
QuestionPython to .Net tool Pin
George_George27-Dec-08 21:20
George_George27-Dec-08 21:20 
AnswerRe: Python to .Net tool Pin
Dave Kreskowiak28-Dec-08 4:51
mveDave Kreskowiak28-Dec-08 4:51 
GeneralRe: Python to .Net tool Pin
George_George28-Dec-08 18:37
George_George28-Dec-08 18:37 
GeneralRe: Python to .Net tool Pin
Dave Kreskowiak28-Dec-08 19:38
mveDave Kreskowiak28-Dec-08 19:38 
GeneralRe: Python to .Net tool Pin
George_George28-Dec-08 19:42
George_George28-Dec-08 19:42 
GeneralRe: Python to .Net tool Pin
Dave Kreskowiak29-Dec-08 1:46
mveDave Kreskowiak29-Dec-08 1:46 
GeneralRe: Python to .Net tool Pin
George_George30-Dec-08 0:28
George_George30-Dec-08 0:28 
GeneralRe: Python to .Net tool Pin
Dave Cross2-Mar-10 3:58
professionalDave Cross2-Mar-10 3:58 

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.