my dog learned polymorphism*
The moose likes Sockets and Internet Protocols and the fly likes Hit http url using java through socket Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Hit http url using java through socket" Watch "Hit http url using java through socket" New topic
Author

Hit http url using java through socket

berender mavi
Ranch Hand

Joined: Feb 18, 2011
Posts: 31
hello all

I am new to socket programming.I have to write a socket client which write hit a url on socket.socket server is already running on other site.can any one please suggest the way

Url is as follows

"GET /subscription/subservice.aspx?Mobileno=MOBILE&Channel=USSD&planid=13404&clientid=511&requestType=1&SubscriptionMode=USSD&isbill=1&subid=1340&shortcodeid=49 HTTP/1.0\r\n\r\n"
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41137
    
  45
Some of these should help: http://www.exampledepot.com/taxonomy/term/191


Ping & DNS - my free Android networking tools app
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Hit http url using java through socket
 
Similar Threads
Rhino usage
How to append response to the incoming request from Socket and write to another Socket.....
system.out.println vs. \r\n
content-length
reading the configurtation file divided in the sections