bool connected; //!< is this for a connected socket?
bool track_duplicates; //!< do we track duplicate packets?
bool no_write_callback; //!< sometimes we don't need to do writes
+ bool non_socket_listener; //!< special internal listener that does not use sockets.
size_t default_message_size; //!< copied from app_io, but may be changed
size_t num_messages; //!< for the message ring buffer
* have a close, so look for both open and close to
* determine what this is.
*/
- if (!listen->app_io->open && !listen->app_io->close) {
+ if (listen->non_socket_listener || (!listen->app_io->open && !listen->app_io->close)) {
fr_assert(listen->app_io->event_list_set != NULL);
fr_assert(!listen->app_io->read);
fr_assert(!listen->app_io->write);