gate support TCP_NODELAY

This commit is contained in:
Cloud Wu
2014-07-09 12:03:44 +08:00
parent fe5c73b1e8
commit d05859b766
8 changed files with 71 additions and 14 deletions

View File

@@ -150,3 +150,8 @@ skynet_socket_start(struct skynet_context *ctx, int id) {
uint32_t source = skynet_context_handle(ctx);
socket_server_start(SOCKET_SERVER, source, id);
}
void
skynet_socket_nodelay(struct skynet_context *ctx, int id) {
socket_server_nodelay(SOCKET_SERVER, id);
}