다음을 통해 공유


Network.SocketFactory Property

Definition

Returns a SocketFactory bound to this network.

public virtual Javax.Net.SocketFactory? SocketFactory { [Android.Runtime.Register("getSocketFactory", "()Ljavax/net/SocketFactory;", "GetGetSocketFactoryHandler")] get; }
[<get: Android.Runtime.Register("getSocketFactory", "()Ljavax/net/SocketFactory;", "GetGetSocketFactoryHandler")>]
member this.SocketFactory : Javax.Net.SocketFactory

Property Value

a SocketFactory which produces Socket instances bound to this Network.

Attributes

Remarks

Returns a SocketFactory bound to this network. Any Socket created by this factory will have its traffic sent over this Network. Note that if this Network ever disconnects, this factory and any Socket it produced in the past or future will cease to work.

Java documentation for android.net.Network.getSocketFactory().

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