Sets the value of the specified socket option.
Syntax
[Android.Runtime.Register("setOption", "(ILjava/lang/Object;)V", "GetSetOption_ILjava_lang_Object_Handler:Java.Net.ISocketOptionsInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public
void SetOption (
int optID,
Java.Lang.Object val)
Parameters
- optID
- the option identifier.
- val
- the value to be set for the option.
Exceptions
Remarks
Requirements
Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1