Re: How to format/send/receive UDP packet in C?

Discussion in 'C Programming' started by Rahul Gandhi, Jun 24, 2003.

  1. Rahul Gandhi

    Rahul Gandhi Guest


    The code for sending and recieving the UDP packets is in Unix network
    Programming by Richard Stevens.
    UDP Packet Format.
    ------------- 32 bits --------
    | Source Port | Dest Port |
    ---------------------------------
    | Udp Msg Length | UDP Checksum |
    ----------------------------------
    | UDP payload |
    | |
    | |
     
    Rahul Gandhi, Jun 24, 2003
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.