Skip to content

Commit

Permalink
修改: examples/echo/server.c
Browse files Browse the repository at this point in the history
	修改:     include/fogconnect.h
  • Loading branch information
wulei committed Apr 8, 2019
1 parent 8eda0b7 commit 7bee0b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions examples/echo/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,3 @@ int main() {
fc_exit();
return 0;
}


2 changes: 1 addition & 1 deletion include/fogconnect.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ struct sockaddr_in *fc_get_remote_addr(void *conn_info);


/*
fc_set_separate: 设置此表示后,连接断开时套接字不会被关闭
fc_set_separate: 设置后,调用fc_disconnect时套接字不会被关闭
conn_info: 为连接后的连接对象。
*/
void fc_set_separate(void *connect_info);
Expand Down

0 comments on commit 7bee0b9

Please sign in to comment.