PDA

View Full Version : Java Server Site P2P help


ddhazxiao
March 17th, 2008, 11:40 PM
Hi, I'm a newbie to Java and server site programming.

I'm doing a p2p school project, and have to write a simple tracker server to handle peers' requests( Get Method ).

my question is: my buddy use URL connector to retrieve "text/plain" file from me, but got errors, what should I do to handle his request and response correctly?

PS: I'm using outputstream to handle his requests.