You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-23Lines changed: 22 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,12 @@
9
9
10
10
A simple C# async TCP server and client with integrated framing for reliable transmission and receipt of data.
11
11
12
-
## New in v1.3.x
12
+
## New in v2.x
13
13
14
-
- Numerous fixes to authentication using preshared keys
15
-
- Authentication callbacks in the client to handle authentication events
16
-
-```AuthenticationRequested``` - authentication requested by the server, return the preshared key string (16 bytes)
17
-
-```AuthenticationSucceeded``` - authentication has succeeded, return true
18
-
-```AuthenticationFailure``` - authentication has failed, return true
19
-
- Support for sending and receiving larger messages by using streams instead of byte arrays
20
-
- Refer to ```TestServerStream``` and ```TestClientStream``` for a reference implementation. You must set ```client.ReadDataStream = false``` and ```server.ReadDataStream = false``` and use the ```StreamReceived``` callback instead of ```MessageReceived```
14
+
- Async Task-based callbacks
15
+
- Configurable connect timeout in WatsonTcpClient
16
+
- Clients can now connect via SSL without a certificate
17
+
- Big thanks to @MrMikeJJ for his extensive commits and pull requests
// read contentLength bytes from the stream and process
238
-
return true;
239
229
}
240
230
```
241
231
242
232
## Version History
243
233
234
+
v1.3.x
235
+
- Numerous fixes to authentication using preshared keys
236
+
- Authentication callbacks in the client to handle authentication events
237
+
-```AuthenticationRequested``` - authentication requested by the server, return the preshared key string (16 bytes)
238
+
-```AuthenticationSucceeded``` - authentication has succeeded, return true
239
+
-```AuthenticationFailure``` - authentication has failed, return true
240
+
- Support for sending and receiving larger messages by using streams instead of byte arrays
241
+
- Refer to ```TestServerStream``` and ```TestClientStream``` for a reference implementation. You must set ```client.ReadDataStream = false``` and ```server.ReadDataStream = false``` and use the ```StreamReceived``` callback instead of ```MessageReceived```
242
+
244
243
v1.2.x
245
244
- Breaking changes for assigning callbacks, various server/client class variables, and starting them
246
245
- Consolidated SSL and non-SSL clients and servers into single classes for each
0 commit comments