Hello Friends,
I am making a chat
applet server application. I have made it with Sockets but as socket doesnt work behind proxies ( till i know, if you know how to get a socket in an applet to work behind a firewall then it will solve all my problem.) But rite now i am trying to work with URLConnection. I open up a new urlconnection from the applet & connect it to the server at port say 1234. I store the output & input streams of the URLConnection & then by using 2 different threads i read & write to the server. I can read all the messages sent by server through input stream of urlconnection. But i just can send only one message through the output stream of urlconnection. why am i not able to send mulitple messages using a
thread through the output stream of urlconnection?? Please help me out with it. If code needed please let me know Ill paste it... its a bit long one.Thanking you in advance.
Cheers
Nehal.