This commit is contained in:
wangyu-
2018-08-06 19:04:23 -05:00
parent 34d2ad19d2
commit 4b2865cf2e
2 changed files with 15 additions and 7 deletions

View File

@@ -252,7 +252,7 @@ struct stat_t
};
struct conn_info_t //stores info for a raw connection.for client ,there is only one connection,for server there can be thousand of connection since server can
struct conn_info_t:not_copy_able_t //stores info for a raw connection.for client ,there is only one connection,for server there can be thousand of connection since server can
//handle multiple clients
{
union tmp_union_t
@@ -325,10 +325,11 @@ struct conn_info_t //stores info for a raw connection.for client ,there is o
{
last_active_time=get_current_time();
}
/*
conn_info_t(const conn_info_t &b)
{
assert(0==1);
}
}*/
};
/*
struct conn_manager_t //manager for connections. for client,we dont need conn_manager since there is only one connection.for server we use one conn_manager for all connections