Dear all,

I defined a method
recv(Packet* p, Handler*,int flag)

Now, I want to schedule the running of this method after a certain time 
"delay".

What I did is to write down:
Scheduler::instance().schedule(this, recv(p, (Handler *) 0, flag), delay);

An error occurs : "error: invalid use of void expression".

Maybe I cannot pass the input parameters to recv? Or the sintax is not 
right? How can I get it?

Thank you in advance for your help.

Pasquale

_________________________________________________________________
Charla con tus amigos en lĂ­nea mediante MSN Messenger: 
http://messenger.latam.msn.com/

Reply via email to