home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / games / IndiZone / vroom / multicast.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  3.0 KB  |  65 lines

  1. /*
  2.  * Copyright (C) 1994, Silicon Graphics, Inc.
  3.  * All Rights Reserved.
  4.  *
  5.  * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  6.  * the contents of this file may not be disclosed to third parties, copied or
  7.  * duplicated in any form, in whole or in part, without the prior written
  8.  * permission of Silicon Graphics, Inc.
  9.  *
  10.  * RESTRICTED RIGHTS LEGEND:
  11.  * Use, duplication or disclosure by the Government is subject to restrictions
  12.  * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  13.  * and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  14.  * successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  15.  * rights reserved under the Copyright Laws of the United States.
  16.  */
  17. /***************************************************************************
  18.  *
  19.  * @(#) - Oort - Multicast Socket routines.
  20.  *
  21.  * $Id: multicast.h,v 1.1 1993/12/30 20:56:55 fouts Exp $
  22.  *
  23.  *                    Chris Fouts - Silicon Graphics, Inc.
  24.  *                    October, 1991
  25.  **************************************************************************/
  26. /*                                                              */
  27. /*      Copyright (c) 1990 SGI   All Rights Reserved            */
  28. /*      THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF SGI      */
  29. /*      The copyright notice above does not evidence any        */
  30. /*      actual or intended publication of such source code,     */
  31. /*      and is an unpublished work by Silicon Graphics, Inc.    */
  32. /*      This material contains CONFIDENTIAL INFORMATION that    */
  33. /*      is the property of Silicon Graphics, Inc. Any use,      */
  34. /*      duplication or disclosure not specifically authorized   */
  35. /*      by Silicon Graphics is strictly prohibited.             */
  36. /*                                                              */
  37. /*      RESTRICTED RIGHTS LEGEND:                               */
  38. /*      Use, duplication or disclosure by the                   */
  39. /*      Government is subject to restrictions                   */
  40. /*      as set forth in subdivision (c)(1)(ii) of               */
  41. /*      the Rights in Technical Data and Computer               */
  42. /*      Software clause at DFARS 52.227-7013,                   */
  43. /*      and/or in similar or successor clauses in the FAR,      */
  44. /*      DOD or NASA FAR Supplement. Unpublished- rights         */
  45. /*      reserved under the Copyright Laws of the United States. */
  46. /*      Contractor is SILICON GRAPHICS, INC., 2011 N. Shoreline */
  47. /*      Blvd., Mountain View, CA 94039-7311                     */
  48. /*                                                              */
  49.  
  50. #if !defined(MULTICAST_H)
  51.  
  52. #define MULTICAST_H
  53. #include <sys/types.h>
  54. #include <sys/socket.h>
  55. #include <netinet/in.h>
  56.  
  57.  
  58. /* BEGIN PROTOTYPES multicast.c */
  59. int openMulticastSocket( struct sockaddr_in *addr, u_short port, u_char ttl,
  60.         u_char loop, const char *group, const char *interface,
  61.         const char *mode_str ) ;
  62. /* END PROTOTYPES multicast.c */
  63.  
  64. #endif /* !defined(MULTICAST_H) */
  65.