diff options
author | Simon Rozman <simon@rozman.si> | 2019-06-05 11:52:15 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-06-07 12:28:07 +0200 |
commit | 6c405efc42a027f9f93e5bc38ea9d00bb6447b6d (patch) | |
tree | cd1e51ef5e3f532ad433341bff098de1fc47afee /README.md | |
parent | Check number of packets in exchange buffer for overflow (diff) | |
download | wintun-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.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |