DatagramSocket.SetDatagramSocketImplFactory(IDatagramSocketImplFactory) Method

Definition

Sets the datagram socket implementation factory for the application.

[Android.Runtime.Register("setDatagramSocketImplFactory", "(Ljava/net/DatagramSocketImplFactory;)V", "")]
public static void SetDatagramSocketImplFactory (Java.Net.IDatagramSocketImplFactory? fac);
[<Android.Runtime.Register("setDatagramSocketImplFactory", "(Ljava/net/DatagramSocketImplFactory;)V", "")>]
static member SetDatagramSocketImplFactory : Java.Net.IDatagramSocketImplFactory -> unit

Parameters

fac
IDatagramSocketImplFactory

the desired factory.

Attributes

Exceptions

if the factory has already been set.

Remarks

Java documentation for java.net.DatagramSocket.setDatagramSocketImplFactory(java.net.DatagramSocketImplFactory).

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.

Applies to

See also