Hi:
    I was reading how to use the component
@mozilla.org/network/server-socket;1 and I wrote and example that does
not work at all.
    It is here: http://pastebin.mozilla.org/312505
    Until now, if I uncomment the alert line:
//alert("With this line it works....");
    It works...
    In detail:
    That code, accepts incomming connections ok. Then I tried the
"reading incomming data" part. If there is no alert, the functions go
on without reading at all (it is like it is not "blocking until all
the data has been received and readed")

    thanks for any hint. And for point me to the rigth list/newsgroup
in the case that this is not the correct one [and sorry in that case
:S ].

PS: I still did not check the send data part of that code (just in
case you see it really wrong, yes, that could not work).
PS2: if you try that code, it was intended to be used just doing: "var
aCollecter = new Collecter ( );" that waits for incoming connections.

-- 
Mariano
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to