Expose setsockopt in public API
See original GitHub issueThis would be useful for setting up TCP keepalive and TCP_NODELAY flags. Right now the only option is to assume every SocketStream is anyio._networking.SocketStream
and obtain raw socket via _socket._raw_socket
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
BSD Sockets - Zephyr Project Documentation
In Zephyr this function supports a subset of socket options described by POSIX, but also some additional options available in Linux (some ...
Read more >HOWTO: Using getsockopt() and setsockopt() in Visual Basic
This article demonstrates how to use the Windows Sockets (Winsock) getsockopt and setsockopt functions in Visual Basic to read and set options on...
Read more >125586 - Socket API doesn't have setsockopt and getsockopt
Issue 125586: Socket API doesn't have setsockopt and getsockopt ... need these methods (they're used but not exposed within Chrome's socket library), ...
Read more >setsockopt()--Set Socket Options - IBM
Default Public Authority: *USE Threadsafe: Yes. The setsockopt() function is used to set socket options. There are two versions of the API, as...
Read more >Exposing setSocketOptions for node.js datagram
The issue is that the native node.js dgram class does not expose setsockopt for the socket so I can't change SO_RCVBUF.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in b3832756c1705db93d42c6307ee6749689651f90.
It seems that I only tested
getsockopt()
but forgot aboutsetsockopt()
. I will fix this tomorrow.