CastScreen
CastScreen copied to clipboard
Failing to Connect to Socket From Client Side
In android client i am trying to make connection with IP address of the system which is running server not "localhost" by editing the textfield near Input Receiver. But when i Try to connect the socket it throws IOException.
06-22 19:04:28.355 20642-20660/com.yschi.castscreen:remote E/CastService:android.system.ErrnoException: connect failed: ETIMEDOUT (Connection timed out)
06-22 19:04:28.366 20642-20660/com.yschi.castscreen:remote W/System.err: at java.net.Socket.<init>(Socket.java:248)
at com.yschi.castscreen.CastService$5.run(CastService.java:536)
at java.lang.Thread.run(Thread.java:764)
06-22 19:04:28.368 20642-20642/com.yschi.castscreen:remote E/CastService: Failed to create socket to receiver, ip: XX.XXX.X.XXX