Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
222 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,26 @@ | |||
/* | |||
* aysnc_clnt.h | |||
* | |||
* Created on: May 4, 2012 | |||
* Author: auxten | |||
*/ | |||
|
|||
#ifndef AYSNC_CLNT_H_ | |||
#define AYSNC_CLNT_H_ | |||
|
|||
/** | |||
* @brief non-blocking version connect | |||
* | |||
* @see | |||
* @note | |||
* @author auxten <auxtenwpc@gmail.com> | |||
* @date Apr 22, 2012 | |||
**/ | |||
int nb_connect(const s_host_t * h, struct conn_client* conn); | |||
|
|||
int connect_hosts(const std::vector<s_host_t> & host_vec, | |||
std::vector<struct conn_client> * conn_vec); | |||
|
|||
int disconnect_hosts(std::vector<struct conn_client> & conn_vec); | |||
|
|||
#endif /* AYSNC_CLNT_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.