thread

hi
 
i'm use indy idtcpserver and reading requests from clients
my clients ,my client is the browser ,i use currentReadBuffer to read requests but i find problem some reguests i lost and some is reading for tow requests
the requests arrive very fast .
how can i solve this problem
thanks
 
sarayassienAsked:
Who is Participating?
 
AvonWyssConnect With a Mentor Commented:
threadvar will not help you at all. It only declares local thread storage, that is, global variables which will be separate for each thread.
0
 
AvonWyssCommented:
Sorry, I don't really understand your question. Maybe some code snippets could also help understand.
0
 
sarayassienAuthor Commented:
thanks for your comment
i find threadvar statment and i want to use it can you tell me how i use it with idtcpthread please
0
 
CleanupPingCommented:
sarayassien:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
knightmadCommented:
Wow, Its been a long time since this comment have been visited!

sarayassien,
No comment has been added lately (19 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Award points to AvonWyss http:#6895889

-- Please DO NOT accept this comment as an answer ! --

Thanks,

knightmad
EE Cleanup Volunteer

Remember you (all) can object this recommendation if you disagree, just leave a post here explaining why are you objecting and what should be done instead.
Within 7 days probably this thread will be closed, so, hurry up! : )
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.