Passing data into callbacks
minfrin at sharp.fm
Thu Nov 6 12:14:07 CET 2008
Graham Leggett wrote:
> 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
> Am I missing something?
Rather than reading ev.h, I should have been reading
Sorry for the noise.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3287 bytes
Desc: S/MIME Cryptographic Signature
More information about the libev