Revert "udp socket bugfix (#1640)"

This reverts commit 2a8c095e38.
This commit is contained in:
Cloud Wu
2022-09-03 22:02:45 +08:00
parent 2a8c095e38
commit 6dda5f7f98
5 changed files with 6 additions and 7 deletions

View File

@@ -175,7 +175,7 @@ skynet_socket_nodelay(struct skynet_context *ctx, int id) {
}
int
skynet_socket_udp(struct skynet_context *ctx, const char * addr, int *port) {
skynet_socket_udp(struct skynet_context *ctx, const char * addr, int port) {
uint32_t source = skynet_context_handle(ctx);
return socket_server_udp(SOCKET_SERVER, source, addr, port);
}