Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Just a quick question. What are th

Status
Not open for further replies.

HavaTheJut

Programmer
Jun 26, 2001
93
US
Just a quick question. What are that advantages/disadvantages between connecting to a site with a Socket or with URL.openStream()?
 
at first glance, you can read and write to a socket but the openStream method only returns a FileInputStream. obvious disadvantage there.

why don't u use http like the rest of us? its already there and all you need is a servlet engine to make your site very flexible..and tomcat is free :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top