forked from nanomsg/nng
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
8c45983
commit 9ed68d5
Showing
3 changed files
with
60 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright 2019 Staysail Systems, Inc. <[email protected]> | ||
// Copyright 2024 Staysail Systems, Inc. <[email protected]> | ||
// Copyright 2018 Capitar IT Group BV <[email protected]> | ||
// Copyright 2019 Devolutions <[email protected]> | ||
// | ||
|
@@ -22,15 +22,17 @@ struct nni_tcp_conn { | |
nni_win_io conn_io; | ||
nni_list recv_aios; | ||
nni_list send_aios; | ||
nni_aio * conn_aio; | ||
nni_aio *conn_aio; | ||
SOCKADDR_STORAGE sockname; | ||
SOCKADDR_STORAGE peername; | ||
nni_tcp_dialer * dialer; | ||
nni_tcp_dialer *dialer; | ||
nni_tcp_listener *listener; | ||
int recv_rv; | ||
int send_rv; | ||
int conn_rv; | ||
bool closed; | ||
bool sending; | ||
bool recving; | ||
char buf[512]; // to hold acceptex results | ||
nni_mtx mtx; | ||
nni_cv cv; | ||
|
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