SocketHttpServerConnection.SocketTimeout Property
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.
Gets or sets the socket read timeout in milliseconds.
public override int SocketTimeout { [Android.Runtime.Register("getSocketTimeout", "()I", "GetGetSocketTimeoutHandler")] get; [Android.Runtime.Register("setSocketTimeout", "(I)V", "GetSetSocketTimeout_IHandler")] set; }
[<get: Android.Runtime.Register("getSocketTimeout", "()I", "GetGetSocketTimeoutHandler")>]
[<set: Android.Runtime.Register("setSocketTimeout", "(I)V", "GetSetSocketTimeout_IHandler")>]
member this.SocketTimeout : int with get, set
Property Value
When getting, returns the timeout in milliseconds, or -1 when it is unavailable or undefined. When setting, 0 specifies an infinite (disabled) timeout. A standard open socket rejects negative values; socket exceptions are ignored.
Implements
- Attributes
Remarks
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.