The DejaVU Framework -- hush 3.0
[.] Papers Tutorials Examples Manuals Interfaces Sources Packages Resources ?

include: socket.h hush-3.0b4/auxiliary/net/cs/udp


[.] - [up] [top] - index C++ make include scripts
  // udp/socket.h
  
  ifndef _UDP_SOCKET_H_
  define _UDP_SOCKET_H_
  
  include <netinet/in.h>
  
  

udpsocket


  class udpsocket
  {
  public:
      udpsocket();
   
      virtual int portnr() const;
      virtual void close();
   
  protected:
      static void sigpipe_handler(int signr);
   
      static void (*_old_sigpipe_handler)(int signr);
      static int _got_sigpipe;
      static int _handler_installed;
   
      struct sockaddr_in _name;
      int _portnr;
      int _sd;
  };

slide: udpsocket

   
   
  endif _UDP_SOCKET_H_
  
  

[.] Papers Tutorials Examples Manuals Interfaces Sources Packages Resources ?
Hush Online Technology
hush@cs.vu.nl
09/09/98