gem5  v21.1.0.2
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 88 of file socket.cc.

◆ ~ListenSocket()

gem5::ListenSocket::~ListenSocket ( )
virtual

Definition at line 92 of file socket.cc.

References gem5::ListenSocket::fd.


Generated on Tue Sep 21 2021 12:27:01 for gem5 by doxygen 1.8.17