Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Posts: 141
Registered: ‎02-27-2009
My Device: Not Specified

"Socket is already connected" exception from DatagramSocket.send()

The subject says it all.


Please note the method is send() -- not sendTo().

That exception is not even a valid error condition for that method.

The socket we are sending to, MUST be connected before calling send().