I am trying to write a simple Midlet which makes use of the ServerSocket class available for J2ME. Only when I compile a project using it for example the project TCPEchoServer included in the MIDP_2_0_Introduction_to_Using_Sockets_and_Datagrams_v1_0 tutorial.
I am unable to get it working, it seems to compile fine but when I try it out on my Nokia 6681 it doesn't work for me. Sometimes I am getting a Symbian error -34 or totally nothing work. It asks if I allow to connect to it, though.
How can I compile a project in Eclipse+EclipseME to make use of the Serversocket class?