in reply to Re^9: sysread and syswrite in tcp sockets
in thread sysread and syswrite in tcp sockets

I know 4 bytes isn't alot, but i'm consider maximum cost saving of bandwidth.... the alternative way is to use time as the indicator

That doesn't make a lot of sense. All the time you spend waiting is equally wasted badwidth. Use or lose it.

If you're thinking about the cost of those extra 4-bytes, you said the file sizes are 10.5k, which means those 4 bytes represent 0.009% of your traffic. How much can that be?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re^10: sysread and syswrite in tcp sockets