How to get data programmatically access other servers

Category: Java Related
 
tangjianhh
2011-03-09 12:23:16

Sponsored Links
How to programmatically access the other servers to get data?
Metaphor: Google not have a Google Maps you, then Google's servers will have the latitude and longitude worldwide message that I want to access, and access to these latitude and longitude information, I want to how programming, how to write the http protocol?
not necessarily have to answer example, is how to access other servers to obtain data on the line.

Sponsored Links

evelyn66
2011-03-09 12:34:56
use socket programming, the site you want to send the request, and then return the information will get you from the inside to parse out the data you need on it.
aliao0808
2011-03-09 12:37:36
httpclient ~ ~ ~
lzmlzmlzm1988
2011-03-09 12:55:50
there is no socket programming, httpclient examples of this, send one to me, thank you!
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.