A ServerSocketConnection is TCP, not UDP. You'd be wanting DatagramConnection, which is UDP. Open with
Quote:
|
Connector.open("datagram://:<port>");
|
for incoming, and
Quote:
|
Connector.open("datagram://<ip>:<port>");
|
for outgoing (I always thought UDP sockets were bidirectional, but I guess J2ME handles it somewhat differently).