1: 
   2: /*
   3:  *temporary file implementing a setsockopt call
   4:  * until I find out how Maryland intends to do it.
   5:  */
   6: 
   7: #include <sys/types.h>
   8: #include <stdio.h>
   9: #include <sys/socket.h>
  10: 
  11: SetSPPoptions(s,stream,eom,attn)
  12:     int s;      /* SPP socket */
  13:     u_char stream;  /* datastream type */
  14:     char eom;   /* Boolean EOM */
  15:                 /* can't set ATTN -- use MSG_OOB instead */
  16: {
  17:     /*
  18: 	setsockopt(s, SOL_PROTO, SPPOPT_DATASTREAMTYPE, &stream,
  19: 		   sizeof(stream));
  20: 	setsockopt(s, SOL_PROTO, SPPOPT_EOMBIT, &eom, sizeof(eom));
  21: 	*/
  22:     fprintf(stderr, "SetSPPoptions called , now obsoleted\n");
  23:     abort();
  24: }

Defined functions

SetSPPoptions defined in line 11; never used
Last modified: 1986-03-13
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 808
Valid CSS Valid XHTML 1.0 Strict