rrid_t rascal_accept( const sock_t *, dispatcher, void *context OPTIONAL );
Starts accepting incoming connections on the specified address. The identifier, if valid, can be used in a call to rascal_cancel
. The context
value is passed to the event dispatcher when time comes. Note that the value of the context
parameter is inherited by all accepted connections; to identify a particular connection, you need to call rascal_set_context
to change it when the connection is accepted.