mirror of
https://github.com/n0-computer/iroh.git
synced 2026-12-04 00:01:26 +00:00
deploy: 5f9c53ac1493c383a1fa0131956316cbf8cc8daa
This commit is contained in:
@@ -935,7 +935,7 @@
|
||||
}
|
||||
|
||||
<span class="doccomment">/// UDP socket read/write buffer size (7MB). The value of 7MB is chosen as it
|
||||
/// is the ma supported by a default configuration of macOS. Some platforms will silently clamp the value.
|
||||
/// is the max supported by a default configuration of macOS. Some platforms will silently clamp the value.
|
||||
</span><span class="kw">const </span>SOCKET_BUFFER_SIZE: usize = <span class="number">7 </span><< <span class="number">20</span>;
|
||||
<span class="kw">impl </span>UdpSocket {
|
||||
<span class="doccomment">/// Bind only Ipv4 on any interface.
|
||||
|
||||
Reference in New Issue
Block a user