gem5  v20.1.0.0
The Socket API.

These methods relate to the Socket interface. More...

 ListenSocket::ListenSocket ()
 
virtual ListenSocket::~ListenSocket ()
 
virtual int ListenSocket::accept (bool nodelay=false)
 
virtual bool ListenSocket::listen (int port, bool reuse=true)
 
int ListenSocket::getfd () const
 
bool ListenSocket::islistening () const
 

Detailed Description

These methods relate to the Socket interface.

Function Documentation

◆ accept()

int ListenSocket::accept ( bool  nodelay = false)
virtual

◆ getfd()

int ListenSocket::getfd ( ) const
inline

◆ islistening()

bool ListenSocket::islistening ( ) const
inline

◆ listen()

bool ListenSocket::listen ( int  port,
bool  reuse = true 
)
virtual

◆ ListenSocket()

ListenSocket::ListenSocket ( )

Definition at line 87 of file socket.cc.

◆ ~ListenSocket()

ListenSocket::~ListenSocket ( )
virtual

Definition at line 91 of file socket.cc.

References ListenSocket::fd.


Generated on Wed Sep 30 2020 14:02:20 for gem5 by doxygen 1.8.17