Logo Search packages:      
Sourcecode: octave-sockets version File versions  Download package

octave_socket::octave_socket ( int  domain,
int  type,
int  protocol 
)

Constructor used to create the socket.

Definition at line 255 of file sockets.cc.

{
  sock_fd = ::socket( domain, type, protocol );
  if ( sock_fd == -1 )
  {
    error( "octave_socket: Error creating socket" );
  }
  else
  {
    socket_map[sock_fd] = this;
  }
}

Generated by  Doxygen 1.6.0   Back to index