I'm confused.
Does it matter how quickly data arrives?
If you follow these steps
open socket
read from socket
process data
read from socket (succeeds if data available and block otherwise).
How can a program mess up things if data arrives fast?
Indeed, <map> is not a hash table.
<<What's mapping
It is designed for storing and retrieving (key,value) pairs quickly. It uses a hash function on the key. Bassicly, the value is stored in an array at the result of the hash function. But that result is not unique. So each entry in that array...
Hello,
Thanks for your help.
The problem appeared before I was working here, but I doubt the processor load was 100%.
My colleagues tried to use tcpdump (or windump), but traffic to 127.0.0.1 doesn't appear in its logs. So no luck there.
P.S. I'm not sure that the data passes trought the NIC...
Hello,
I've had some problems with a TCP connection through the localhost. There was data loss during very heavy load. We moved the two programs to seperate computers and the problem was solved. I know that the localhost works a bit different then the 'real' ip addresses, but does anybody know...
I have only recently taken interest in programming, and would like to learn it for many reasons. I am in Year 11 at School and there is a subject next year (computer science) which i am enrolling in. this course is based on Java programming........ so if anyone could give me an internet address...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.