Click here to Skip to main content
15,921,577 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Custom cursor with Win32 Pin
Nibu babu thomas20-Jan-09 1:53
Nibu babu thomas20-Jan-09 1:53 
QuestionMaximum value of MTU size Pin
Vishal Kumar Soni19-Jan-09 23:46
Vishal Kumar Soni19-Jan-09 23:46 
QuestionRe: Maximum value of MTU size Pin
Maximilien20-Jan-09 0:46
Maximilien20-Jan-09 0:46 
AnswerRe: Maximum value of MTU size Pin
Vishal Kumar Soni20-Jan-09 0:50
Vishal Kumar Soni20-Jan-09 0:50 
GeneralRe: Maximum value of MTU size Pin
Code-o-mat20-Jan-09 2:15
Code-o-mat20-Jan-09 2:15 
GeneralRe: Maximum value of MTU size Pin
Vishal Kumar Soni20-Jan-09 2:41
Vishal Kumar Soni20-Jan-09 2:41 
GeneralRe: Maximum value of MTU size Pin
CPallini20-Jan-09 3:05
mveCPallini20-Jan-09 3:05 
GeneralRe: Maximum value of MTU size Pin
Stuart Dootson20-Jan-09 3:10
professionalStuart Dootson20-Jan-09 3:10 
Vishal Kumar Soni wrote:
So both client and server application have not functionality to deal with fragmented packets.


Your code doesn't, but the code **you call** does. I bet your code doesn't perform checksums on the data you send either - doesn't mean that doesn't happen (the ethernet layer will do that). I bet your code doesn't work out which computers your data should go through to get between client and server either - again, that doesn't mean that it doesn't happen.

Vishal Kumar Soni wrote:
So there is lot of confustion related to MTU?


Not really. Look at Wikipedia's page on MTU[^] - it quite clearly says that the MTU is the maximum size of data packet that can be transmitted by a layer of a communication protocol. Looking at the table of MTUs on that page, you can see that the MTU size depends on the transport you're using. Imagine you have this link to your server:

Client <-- <small>Wireless (802.11)</small> --> Gateway <-- <small>Ethernet</small> --> Gateway <-- <small>FDDI</small> --> Server


There are three different transports with three different MTUs (802.11=2272 bytes, Ethernet = ~1500, FDDI = 4500). Without an underlying layer that automatically adjusts for those different MTUs, your code would have to handle it all.

As ever with networking questions, I would recommend you download and become familiar with the IBM Networking Redbook[^].
GeneralRe: Maximum value of MTU size Pin
Code-o-mat20-Jan-09 3:14
Code-o-mat20-Jan-09 3:14 
GeneralRe: Maximum value of MTU size Pin
Vishal Kumar Soni20-Jan-09 6:00
Vishal Kumar Soni20-Jan-09 6:00 
GeneralRe: Maximum value of MTU size Pin
Randor 20-Jan-09 7:09
professional Randor 20-Jan-09 7:09 
GeneralRe: Maximum value of MTU size Pin
Vishal Kumar Soni20-Jan-09 8:17
Vishal Kumar Soni20-Jan-09 8:17 
GeneralRe: Maximum value of MTU size Pin
Randor 20-Jan-09 8:50
professional Randor 20-Jan-09 8:50 
GeneralRe: Maximum value of MTU size Pin
Vishal Kumar Soni20-Jan-09 9:11
Vishal Kumar Soni20-Jan-09 9:11 
GeneralRe: Maximum value of MTU size Pin
Vishal Kumar Soni23-Jan-09 10:32
Vishal Kumar Soni23-Jan-09 10:32 
QuestionString displayed distorted in RTL view Pin
Alex@9C19-Jan-09 23:42
Alex@9C19-Jan-09 23:42 
AnswerRe: String displayed distorted in RTL view Pin
CPallini20-Jan-09 0:35
mveCPallini20-Jan-09 0:35 
AnswerRe: String displayed distorted in RTL view Pin
Alex@9C20-Jan-09 0:49
Alex@9C20-Jan-09 0:49 
AnswerRe: String displayed distorted in RTL view Pin
David Crow20-Jan-09 8:27
David Crow20-Jan-09 8:27 
GeneralRe: String displayed distorted in RTL view Pin
Alex@9C22-Jan-09 18:09
Alex@9C22-Jan-09 18:09 
QuestionRe: String displayed distorted in RTL view Pin
David Crow23-Jan-09 3:05
David Crow23-Jan-09 3:05 
Questionusing CMFCOutlookBar of the VS2008 Feature pack Pin
Prasann Mayekar19-Jan-09 22:48
Prasann Mayekar19-Jan-09 22:48 
AnswerRe: using CMFCOutlookBar of the VS2008 Feature pack Pin
Ahmed Charfeddine19-Jan-09 22:57
Ahmed Charfeddine19-Jan-09 22:57 
QuestionPort programming Pin
Subrat Patnaik19-Jan-09 22:33
Subrat Patnaik19-Jan-09 22:33 
QuestionRe: Port programming Pin
CPallini19-Jan-09 22:56
mveCPallini19-Jan-09 22:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.