gem5  v21.2.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
The Socket API.

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

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

Detailed Description

These methods relate to the Socket interface.

Function Documentation

◆ accept()

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

◆ getfd()

int gem5::ListenSocket::getfd ( ) const
inline

◆ islistening()

bool gem5::ListenSocket::islistening ( ) const
inline

◆ listen()

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

◆ ListenSocket()

gem5::ListenSocket::ListenSocket ( )

Definition at line 110 of file socket.cc.

◆ ~ListenSocket()

gem5::ListenSocket::~ListenSocket ( )
virtual

Definition at line 114 of file socket.cc.

References gem5::ListenSocket::fd.


Generated on Tue Dec 21 2021 11:34:52 for gem5 by doxygen 1.8.17