TaggingSocketFactory
SocketFactory to tag sockets per TrafficStats.
All created sockets will be tagged with the current thread id, and if running on an SDK >= P, with the process UID.
Properties
Link copied to clipboard
Link copied to clipboard
Base SocketFactory to which all creation requests are delegated.
Functions
Link copied to clipboard
public Socket createSocket(InetAddress address, Integer port, InetAddress localAddress, Integer localPort)
Link copied to clipboard
Base SocketFactory to which all creation requests are delegated.