Java.Net.Socket.SetSocketImplFactory Method
Sets the internal factory for creating socket implementations.

Syntax

[Android.Runtime.Register("setSocketImplFactory", "(Ljava/net/SocketImplFactory;)V", "")]
public static void SetSocketImplFactory (ISocketImplFactory fac)

Parameters

fac
the socket implementation factory to be set.

Exceptions

TypeReason
Java.IO.IOExceptionif the factory has been already set.

Remarks

Sets the internal factory for creating socket implementations. This may only be executed once during the lifetime of the application.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1