Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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
Edited 22-Feb-13 4:42am
v3
Comments
ThePhantomUpvoter at 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 at 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 at 22-Feb-13 9:10am
   
And so? Do you have a real question or not?
Alamgirable at 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 at 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 at 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 at 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.
Sergey Alexandrovich Kryukov at 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
ryanb31 at 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) at 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.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 George Jonsson 215
1 Kornfeld Eliyahu Peter 169
2 OriginalGriff 120
3 PIEBALDconsult 110
4 BillWoodruff 85
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 22 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100