Πέμπτη 4 Σεπτεμβρίου 2008

J2me sockets and streams...

http://www.russellbeattie.com/notebook/1002646.html

a call to Connector.open("sockets://...") in the main thread will STOP your application from running without an error.

if the inputStream is blocked waiting for a read(), then the outputStream is blocked also.

a call to InputStream.available() always returns 0, regardless of how many bytes are actually available.

Δεν υπάρχουν σχόλια: