socket.shutdown abandon unsend buffer now, see issue #371

This commit is contained in:
Cloud Wu
2015-11-11 10:44:50 +08:00
parent c28ae25c70
commit 7521fe0530
6 changed files with 39 additions and 6 deletions

View File

@@ -29,6 +29,7 @@ int skynet_socket_listen(struct skynet_context *ctx, const char *host, int port,
int skynet_socket_connect(struct skynet_context *ctx, const char *host, int port);
int skynet_socket_bind(struct skynet_context *ctx, int fd);
void skynet_socket_close(struct skynet_context *ctx, int id);
void skynet_socket_shutdown(struct skynet_context *ctx, int id);
void skynet_socket_start(struct skynet_context *ctx, int id);
void skynet_socket_nodelay(struct skynet_context *ctx, int id);