Enable socket-api recvmsg() and sendmsg() (#1042)
Implement socket-api `recvmsg()` and `sendmsg()` for wasm app, add sample and update document.
This commit is contained in:
@ -80,6 +80,12 @@ connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen);
|
||||
int
|
||||
listen(int sockfd, int backlog);
|
||||
|
||||
ssize_t
|
||||
recvmsg(int sockfd, struct msghdr *msg, int flags);
|
||||
|
||||
ssize_t
|
||||
sendmsg(int sockfd, const struct msghdr *msg, int flags);
|
||||
|
||||
int
|
||||
socket(int domain, int type, int protocol);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user