Commit 21a1de7
Albert Adiyatullin
Fixed bug when the return Close message is not sent.
- The Close method often follows the Read method returning the error 6066 "Closed by the peer". Checking of an input error within prevented it from sending Close frame in responce, thus making the peer crash with the error 66 "TCP connection closed".
This fix lets the Close message even if the error 6066 is present.
- Fixed TCP closure wiring in the example.1 parent 40ee255 commit 21a1de7
6 files changed
Lines changed: 11 additions & 2 deletions
File tree
- Examples
- Test Client/LabVIEW Client
- Test Server
Binary file not shown.
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
6 | 15 | | |
7 | 16 | | |
8 | 17 | | |
| |||
0 commit comments