Greetings from Arkansas !!
downloaded this code from this location:
http://www.b4x.com/android/forum/threads/problem-with-sockets-asyncstreams.20398/
code is supposed to work but i'm having problems with both of them, all i changed was the ip address and the port number. this is my setup: i have 2 jelly bean phones connected to the same wifi network. one phone 192.168.2.98 in the client. 192.168.2.99 is the server. when start the server program up and press the start server button i get the following error:
an error has occured in sub:main_btn_serverclick (java line:293)
java.net.bindexception: bind failed:
EACCES (permission denied)
On the other phone when i start the client program up and i press the test client button i get this error:
error connecting
libcore.io.errnoexception:
isconnected failed:
econnrefused (connection refused)
seems like i'm missing something real basic here. attached are both programs could someone take a look at it and tell me what i'm doing wrong ?