tidwall / evio

Fast event-loop networking for Go
MIT License
5.88k stars 491 forks source link

How to write UDP? #19

Closed ayanamist closed 6 years ago

ayanamist commented 6 years ago

13 shows how to use Wake to write something, but comment of Wake says:

Not available for UDP connections.

Like i receive a tcp connection, how can i write to another udp conn?

tidwall commented 6 years ago

Unfortunately evio is limited to incoming connections for UDP at this time.

tidwall commented 6 years ago

I'm closing this issue for now, but please feel free to reopen if needed.

ghost commented 5 years ago

Is this still the case? Can evio handle in/out udp and tcp? Do we still need to fire wake? It seems a like a rather messy solution to simply writing to the socket?