mtu

Explain why your MTU size has been set to this value?

I have an assignment that asked: Indicate what you think your MTU size is and why? My MTU size is 1024 because i can only send 996 and then adding the 28 bytes, i get 1024. I undersatnd that. But then they asked: Explain why your MTU size has been set to this value? I really don't have the answer. Can someone help me? ...

MTU for WebServices

We have an ERP application which has all clients connect using WebService. My network engineer tells me that the MTU of the webservice is too small and we would like to increase it to improve performance. As far as I can tell there is no config section for MTU for dotnet web services. Any ideas on where we could configure this? ...

When I send a packet over tcp, it is split into two packets

Hello guys, I am developing an application in C#, using the server-client model, where the server sends a byte array with a bitmap to the client, the client loads it into the screen, sends an "OK" to the server, and the server sends another image, and so on. The length of the image buffer deppends, usually it is between 60kb and 90kb, ...

How to find the largest UDP packet I can send without fragmenting?

I need to know what the largest UDP packet I can send to another computer is without fragmentation. This size is commonly known as the MTU (Maximum Transmission Unit). Supposedly, between 2 computers, will be many routers and modems that may have different MTUs. I read that the TCP implementation in windows automatically finds the max...

TCP/UDP and ethernet MTU Fragmentation

I've read various sites and tutorials online but I am still confused. If the message is bigger than IP MTU, then send() returns the byte sent. What happens to the rest of the message? Am I to call send() again and attempt to send rest of the message? Or is that something IP layer should take care of automatically? ...

How get MTU in POSIX

What is POSIX function to get MTU Size value ?? Thanks. ...

Discovering maximum packet size

I'm working on a network-related project and I am using DTLS (TLS/UDP) to secure communications. Reading the specifications for DTLS, I've noted that DTLS requires the DF flag (Don't Fragment) to be set. On my local network if I try to send a message bigger than 1500 bytes, nothing is sent. That makes perfect sense. On Windows the send...

MTU mismatch between GetIfEntry and netsh

I'm working on pseudo-transport layer software that runs over UDP, providing reliable connection-oriented transmission, as an alternative to TCP. In order to maximize network efficiency, we query the MTU of the "best" network adapter upon initialization. MIB_IFROW row = {0}; row.dwIndex = dwBestIfIndex; dwRes = GetIfEntry(&row); Sear...