tidwall / evio

Fast event-loop networking for Go
MIT License
5.9k stars 493 forks source link

how to register new connection to event loop? #37

Closed devguo closed 5 years ago

devguo commented 5 years ago

Thanks for the cool library. My scenario is, server A use evio, and A need connect to server B, mark the connection as C, how to register C to the server A event loop?

tidwall commented 5 years ago

I'm sorry, but I don't fully understand what you mean.

But, from the sounds of it, you want an evio server (A) to dial a non-evio server (C)?

That's not possible with the current design because evio is only for receiving connections, not dialing.

devguo commented 5 years ago

Yes, it is what i mean, thanks for your reply.