bugfix: gate start

This commit is contained in:
云风
2013-08-23 10:40:14 +08:00
parent 35b0f28fcc
commit 1fc601612c
12 changed files with 46 additions and 540 deletions

View File

@@ -130,7 +130,7 @@ skynet_socket_close(struct skynet_context *ctx, int id) {
}
void
skynet_socket_accept(struct skynet_context *ctx, int id) {
skynet_socket_start(struct skynet_context *ctx, int id) {
uint32_t source = skynet_context_handle(ctx);
socket_server_accept(SOCKET_SERVER, source, id);
socket_server_start(SOCKET_SERVER, source, id);
}