evio
evio copied to clipboard
how to get receive data after conn.wake in events.Data?
To write you will need to call the wake(id) function. This will fire a Data event with a nil input on the next loop step. Then return the data you want to write.
the in is nil but how to get receive data ? need to save it when receive,and get it after wake?
receive data-->get myconn-->myconn.wake-- events.Data-->send to myconn
how to get data send to myconn ?