mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-18 22:29:49 +03:00
Sockopt: Allow customSockopt
work for Windows & Darwin (#4576)
* Sockopt: Add custom sockopt on Windows & Darwin * fix windows udp by the way * use resolved addr https://github.com/XTLS/Xray-core/pull/4504#issuecomment-2769153797
This commit is contained in:
@ -65,11 +65,12 @@ message ProxyConfig {
|
||||
}
|
||||
|
||||
message CustomSockopt {
|
||||
string network = 1;
|
||||
string level = 2;
|
||||
string opt = 3;
|
||||
string value = 4;
|
||||
string type = 5;
|
||||
string system = 1;
|
||||
string network = 2;
|
||||
string level = 3;
|
||||
string opt = 4;
|
||||
string value = 5;
|
||||
string type = 6;
|
||||
}
|
||||
|
||||
// SocketConfig is options to be applied on network sockets.
|
||||
|
Reference in New Issue
Block a user