ServerSocket.SetSocketFactory(ISocketImplFactory) Method
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.
Sets the server socket implementation factory for the application.
[Android.Runtime.Register("setSocketFactory", "(Ljava/net/SocketImplFactory;)V", "")]
public static void SetSocketFactory (Java.Net.ISocketImplFactory? fac);
[<Android.Runtime.Register("setSocketFactory", "(Ljava/net/SocketImplFactory;)V", "")>]
static member SetSocketFactory : Java.Net.ISocketImplFactory -> unit
Parameters
the desired factory.
- Attributes
Exceptions
if the factory could not be set or is already set.
Remarks
Java documentation for java.net.ServerSocket.setSocketFactory(java.net.SocketImplFactory).
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.