Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

socket(2)

inet(7)

intro(7)



  udp(7)                              CLIX                              udp(7)



  NAME

    udp - Internet User Datagram Protocol (UDP)

  SYNOPSIS

    #include <sys/socket.h>

    #include <netinet/in.h>

    socket (AF_INET, SOCK_DGRAM, 0);

  DESCRIPTION

    The User Datagram Protocol (UDP) is a simple, unreliable datagram protocol
    used to support the sock_dgram abstraction for the Internet protocol
    family.  UDP sockets are connectionless and are normally used with the
    sendto() and recvfrom() calls, though the connect() call may also be used
    to fix the destination for future packets.  In this case, the recv(),
    read(), or readv() and send(), write(), or writev() functions may be used.

    UDP uses the standard Internet address format and provides a per-host
    collection of port addresses.  Note that the UDP port space is separate
    from the tcp port space.  A UDP port may not be ``connected'' to a tcp
    port.  In addition, broadcast packets may be sent (assuming the underlying
    network supports this) by using a reserved broadcast address; this address
    is network-interface-dependent.

  FILES

    /dev/udp   Device file for UDP.

  RELATED INFORMATION

    Function:  socket(2)

    Files:  inet(7), intro(7)

















  2/94 - Intergraph Corporation                                              1




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026