Set socket reuse port option.
- Parameters
-
| on | True if want enable such option. |
- Attention
- This option is only available on Linux. use SetReuseAddress instead
- Note
- windows not support such option. Use SetKeepAlive instead.
-
windows not support such option. Use SetKeepAlive instead.
Definition at line 162 of file Socket.cpp.
163 {
165
170
171
172 SPICES_CORE_ERROR("Windows not support SO_REUSEPORT, use SetReuseAddress instead.")
173 }
#define SPICES_PROFILE_ZONE