I have create a server to listen the TCP stream connect, such like nng_stream_listener_accept(listener, aio_accept), when a stream connected, the callback function of nng_aio* aio_accept will be called, i want to pass some data in this function. Is there any way to implement it?
I have create a server to listen the TCP stream connect, such like
nng_stream_listener_accept(listener, aio_accept)
, when a stream connected, the callback function ofnng_aio* aio_accept
will be called, i want to pass some data in this function. Is there any way to implement it?