Passing data into callbacks
minfrin at sharp.fm
Thu Nov 6 12:06:53 CET 2008
I have a callback that gets called when a socket becomes ready to be
accepted, and so far that works fine.
In order to properly accept the socket and set up various parameters, I
have to pass additional information about the socket to the callback,
and I am struggling to see a way to do this without using a global variable.
Am I missing something?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3287 bytes
Desc: S/MIME Cryptographic Signature
More information about the libev