Os.SetsockoptTimeval(FileDescriptor, Int32, Int32, StructTimeval) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
See setsockopt(2).
[Android.Runtime.Register("setsockoptTimeval", "(Ljava/io/FileDescriptor;IILandroid/system/StructTimeval;)V", "", ApiSince=29)]
public static void SetsockoptTimeval (Java.IO.FileDescriptor fd, int level, int option, Android.Systems.StructTimeval value);
[<Android.Runtime.Register("setsockoptTimeval", "(Ljava/io/FileDescriptor;IILandroid/system/StructTimeval;)V", "", ApiSince=29)>]
static member SetsockoptTimeval : Java.IO.FileDescriptor * int * int * Android.Systems.StructTimeval -> unit
Parameters
- level
- Int32
- option
- Int32
- value
- StructTimeval
- Attributes
Remarks
See setsockopt(2).
Only for use with option
values that take a struct timeval
such as OsConstants#SO_RCVTIMEO
and OsConstants#SO_SNDTIMEO
. Use with other options is likely to cause incorrect behavior.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.