Os.SetsockoptTimeval(FileDescriptor, Int32, Int32, StructTimeval) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[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
參數
- level
- Int32
- option
- Int32
- value
- StructTimeval
- 屬性
備註
僅用於 option 取 和 struct timevalOsConstants#SO_RCVTIMEOOsConstants#SO_SNDTIMEO的值。 與其他選項一起使用很可能導致錯誤行為。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。