Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. sendto problem

sendto problem

Scheduled Pinned Locked Moved C / C++ / MFC
sysadminhelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 10349746
    wrote on last edited by
    #1

    Hi,there. I had a problem that can't solve it and I don't know why. The problem is that when I sendto one data to one server,then i picked the data through Network Monitor.There is more data than I send.And the source mac is more other than my own pc's mac. The problem I encountered first time and I don't know why it happened. Look forward your help.Thank you.

    L L 2 Replies Last reply
    0
    • M Member 10349746

      Hi,there. I had a problem that can't solve it and I don't know why. The problem is that when I sendto one data to one server,then i picked the data through Network Monitor.There is more data than I send.And the source mac is more other than my own pc's mac. The problem I encountered first time and I don't know why it happened. Look forward your help.Thank you.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You need to provide more detail if you want assistance on this.

      1 Reply Last reply
      0
      • M Member 10349746

        Hi,there. I had a problem that can't solve it and I don't know why. The problem is that when I sendto one data to one server,then i picked the data through Network Monitor.There is more data than I send.And the source mac is more other than my own pc's mac. The problem I encountered first time and I don't know why it happened. Look forward your help.Thank you.

        L Offline
        L Offline
        leon de boer
        wrote on last edited by
        #3

        Do you understand what MTU size is? If not look it up ([^]) The basics are: UDP over IP uses an 8-byte header added by the UDP protocol and a 20-byte header added by the IP protocol. So +28 bytes of data in the header. TCP over IP uses a 20-byte header for the TCP, and again a 20-byte header added by the IP protocol. So +40 bytes in the header. So those are the headers and then will follow your data which will be in sizes making MTU block sizes. The data in the headers is referenced here UDP header http://en.wikipedia.org/wiki/User_Datagram_Protocol[^] TCP header http://en.wikipedia.org/wiki/Transmission_Control_Protocol[^] The IPv4 header http://en.wikipedia.org/wiki/IPv4_packet#Packet_structure[^]

        In vino veritas

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups