12,756,282 members (34,657 online)
Rate this:
See more:
I know that minimum internet packet size is 64 bytes.
I just want to know that if i transfer 64 bytes of data through internet to another computer.
Then how much total data will transfer through internet.
Posted 22-Feb-13 3:55am
Updated 22-Feb-13 4:42am
v3
ThePhantomUpvoter 22-Feb-13 9:02am

Huh? What? If you transfer 64 bytes of data, do you suppose that it's reasonable to infer that you might have transferred 64 bytes of data? What is your real question?
Alamgirable 22-Feb-13 9:08am

Is that true if i want to transfer 64 bytes of data it will be 128 bytes because it also include packet size in that.
ThePhantomUpvoter 22-Feb-13 9:10am

And so? Do you have a real question or not?
Alamgirable 22-Feb-13 9:16am

Actually i want to transfer 1 bit of data through internet from one computer to another but someone said to me that the total size of transferred data is 64 bytes.
Because minimum internet packet size is 64 bytes.
ryanb31 22-Feb-13 9:47am

What control are you trying to use? Something like a winsock control? Just transfer your byte but it will get wrapped in an envelope. What are you actually asking?
Alamgirable 22-Feb-13 9:58am

Actually i want to transfer 1 bit of data through internet from one computer to another but someone said to me that the total size of transferred data is 64 bytes. Because minimum internet packet size is 64 bytes.
Richard MacCutchan 22-Feb-13 10:05am

And what? If you have a sensible question then please post it, but endlessly repeating the same thing is not helping anyone. If you want to transfer just one byte of data then do so, it will work.
ryanb31 22-Feb-13 10:05am

OK, I don't know if that is true and most developers wouldn't care. The question is, what does it matter? Clearly, you can't just send a single bit. How would the computer you are sending it to know what a 0 meant all by itself? So, what you send gets wrapped into a packet that has who sent it, etc. It sounds like you may be over-thinking the issue. Your code CAN send 1 bit but what will actually be on the wire will be larger, but as a developer, you likely don't need to care what's going on in the OSI layers.
Chris Reynolds (UK) 22-Feb-13 10:22am

To an extent developers shouldn't care. But if you know that your 1 bit of data will carry an overhead you might choose to design your system to batch up requests into larger groups so that you only send one (for example) 64 byte packet rather then 64x8x64 byte packets. If it is a mobile app and people are being charged for their network usage then you should consider optimising your use of the resource. However, as ryanb231 says, it will be difficult for you to know what wrapper get put around your data as it moves up the OSI layers.
Sergey Alexandrovich Kryukov 22-Feb-13 15:23pm

Could you Richard or Ryan just put your words as a formal answer, just to close this conversation? Or do you think the question should rather be removed as yet another non-question?
I would say, it could be classified as a kind of (pretty bad) question, but you already answered...
—SA

Top Experts
Last 24hrsThis month
 Graeme_Grant 494 Maciej Los 325 Jochen Arndt 231 Peter Leow 168 OriginalGriff 148
 OriginalGriff 4,119 Peter Leow 3,139 ppolymorphe 2,463 Karthik Bangalore 2,395 Graeme_Grant 1,838