Skip to content

Commit 75da893

Browse files
Update README.md
1 parent 46126ba commit 75da893

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,12 @@ output:
122122
Hello I'm a client!
123123
Hello I'm the server
124124
```
125+
Note: Important performance setting here is whether to use a buffer or a queue as buffering policy. Use Buffer if messages are mainly regions of byte[] such as (buffer, offset,count).
126+
Use Queue if the messages are full byte[] (0 to end).
127+
```c#
128+
client.GatherConfig = ScatterGatherConfig.UseQueue;
129+
server.GatherConfig = ScatterGatherConfig.UseBuffer;
130+
```
125131
</br>For SSL variants difference is:
126132
```c#
127133
var ccert = new X509Certificate2("client.pfx", "greenpass");

0 commit comments

Comments
 (0)