aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2019-06-05 11:52:15 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-06-07 12:28:07 +0200
commit6c405efc42a027f9f93e5bc38ea9d00bb6447b6d (patch)
treecd1e51ef5e3f532ad433341bff098de1fc47afee /README.md
parentCheck number of packets in exchange buffer for overflow (diff)
downloadwintun-6c405efc42a027f9f93e5bc38ea9d00bb6447b6d.tar.xz
wintun-6c405efc42a027f9f93e5bc38ea9d00bb6447b6d.zip
README: 256 packets per exchange buffer limitation is obsolete
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index ae56e62..a7e0ff3 100644
--- a/README.md
+++ b/README.md
@@ -117,6 +117,6 @@ After loading the driver and creating a network interface the typical way using
~ ~
```
-Each packet segment should contain a layer 3 IPv4 or IPv6 packet. Up to 256 packets may be read or written during each call to `ReadFile` or `WriteFile`.
+Each packet segment should contain a layer 3 IPv4 or IPv6 packet. Up to 15728640 bytes may be read or written during each call to `ReadFile` or `WriteFile`.
It is advisable to use [overlapped I/O](https://docs.microsoft.com/en-us/windows/desktop/sync/synchronization-and-overlapped-input-and-output) for this. If using blocking I/O instead, it may be desirable to open separate handles for reading and writing.