just found this and would like to share my fix with you folks in case
you run into the exception:

if your app sees the exception:

  "java.net.SocketException: The socket level is invalid"

dont be panic. it occurs when ip of your phone has changed and your
app sends packets via a socket which is still bound to old ip.

refreshing ip value and rebinding the socket to the new ip will fix
the exception.

the exception likely occurs to only "real" phones, i guess.

happy weekend android coding to you folks ~.~

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to