Documentation

Net::Socket::Accept

Method in Socket

Net::Socket@ Accept()

When this socket is listening, attempts to accept a client connection if one is trying to connect. If there is, it will be returned. If no client is waiting, this will return null.

Returns Net::Socket@