You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with an environment where I have a gRPC client on Android that needs to connect to a server running on a specific network. In order to access that network, I need to bind the socket I want to communicate over to the Network object using Network.bindSocket() before the socket connects.
Is it possible to access the socket somehow so I can do that?
The text was updated successfully, but these errors were encountered:
You can't access the socket gRPC creates, but you can create the socket for gRPC to use by providing a socketFactory. That allows you to bind to a particular network. Your SocketFactory can delegate to SocketFactory.getDefault().
Hi there!
I'm working with an environment where I have a gRPC client on Android that needs to connect to a server running on a specific network. In order to access that network, I need to bind the socket I want to communicate over to the Network object using Network.bindSocket() before the socket connects.
Is it possible to access the socket somehow so I can do that?
The text was updated successfully, but these errors were encountered: