You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure, because none of us have prior experiences on this. And I doubt that its compatibility issues may make it little use in real applications.
@mankouzhuya Because the libc API still has its use. Considering you need to write a file in disk or tmpfs, then libc's write is always the feasible way to do it, even we can also use Photon's capsulation of libaio or io_uring.
In a word, networking is a important part, but not all that we concern. We'd best just provide the alternatives, rather then overwrite them.
Photon's basic networking API calls are in net/basic_socket.h. For instance, photon::net::recv equals to libc's recv, and can only work in the coroutine runtime.
No description provided.
The text was updated successfully, but these errors were encountered: