Menu

#32 text separator in incoming message

open
nobody
None
5
2004-10-13
2004-10-13
virtualj
No

in Listener.java line 106 u get the text by checking the
index of ":"
...
int ind = response.indexOf(":",2);
...
text = response.substring(ind+1);
...

the separator is ":" but after the host. If someone has
an ipv6 ip (not reversed) separated by ":" the resulting
text is a portion of ipv6 and then the text.. I don't have
a great solution now :)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.