Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/06/08 07:29
Read: times


 
Msg Score: 0
 -1 Provacative/Troll
 +1 Underrated
#151941 - Have you studied that Tutorial yet?
Responding to: ???'s previous message
Karandeep Singh said:
Firstof all i open a socket by
socketno= mn_open(ip_dest_addr,DEST_PORT,SRC_PORT,active open,
                              protocol_type,*rcv_data,rcv_len);
socket contection is made succesfully

Presumably, the "mn_" prefix shows that you're using CMX Micronet (or the free version from SiLabs) - yes?

now i send data in tcp/ip packet as-----

"GET http://www.google.co.in/ HTTP/1.0\r\n"

Doesn't CMX give you an API for issuing HTTP requests?

this packet is also send to the PC ,i checked it by ETHER DETECT software

It may be sent to the PC, but surely the URL http://www.google.co.in/ isn't on your PC, is it?!
You're not hosting Google for the whole of India, are you?!

does the http request header is sufficent to get the responce

No, what you've shown is not sufficient as an HTTP GET request - study that tutorial carefully!
In particular, look at the Sample HTTP Exchange and pay attention to the explanatory notes...

Do as the author says:
James Marshall said:
To familiarize yourself with requests and responses, manually experiment with HTTP using telnet.
http://www.jmarshall.com/easy/http/


You also need to have a copy of the HTTP specification to hand:
RFC2616: Hypertext Transfer Protocol -- HTTP/1.1
As an HTML web page: http://www.w3.org/Protocols/rfc2616/rfc2616.html
As a PDF download: http://www.w3.org/Protocols/HTTP/1.1/rfc2616.pdf


List of 60 messages in thread
TopicAuthorDate
Connecting ethernet kit to internet            01/01/70 00:00      
   Basics            01/01/70 00:00      
      making terminal as web server problem            01/01/70 00:00      
         Why can't you make every kit a website?            01/01/70 00:00      
   Online Reader ---plz help its urgent!!!!            01/01/70 00:00      
      Why not to use "urgent" in the topic.            01/01/70 00:00      
         Especially when there is no urgency!            01/01/70 00:00      
      Some more basics            01/01/70 00:00      
         how to access a embedded terminal via website?            01/01/70 00:00      
            Impossible to answer            01/01/70 00:00      
               I was just guessing            01/01/70 00:00      
                  He said...            01/01/70 00:00      
   Websites and HTTP            01/01/70 00:00      
      cost problem and web server            01/01/70 00:00      
         Slightly missing the point - Clients and Servers            01/01/70 00:00      
            Public & Private IP Addresses            01/01/70 00:00      
         Polling            01/01/70 00:00      
            Re:Polling            01/01/70 00:00      
               How to..            01/01/70 00:00      
                  Re: How to..            01/01/70 00:00      
                  A DS80C400 FAQ            01/01/70 00:00      
                     Client, not Server [edited]            01/01/70 00:00      
               Polling            01/01/70 00:00      
         A suggestion            01/01/70 00:00      
            So don't access them publically!            01/01/70 00:00      
            Security!            01/01/70 00:00      
   not able to get responce!!            01/01/70 00:00      
      Probably            01/01/70 00:00      
         link            01/01/70 00:00      
            Way beyond that?            01/01/70 00:00      
      Fiddler on the HTTP            01/01/70 00:00      
      Have you studied that Tutorial yet?            01/01/70 00:00      
      Diagnostics at the Server?            01/01/70 00:00      
   new problem??            01/01/70 00:00      
      Upload & Download            01/01/70 00:00      
         GET and POST            01/01/70 00:00      
            RE: GET and POST            01/01/70 00:00      
               GET vs POST            01/01/70 00:00      
                  Request-Response            01/01/70 00:00      
                     They could            01/01/70 00:00      
                        System            01/01/70 00:00      
                           I guess            01/01/70 00:00      
                              Server restrictions            01/01/70 00:00      
         Re: upload or download            01/01/70 00:00      
            Time to review the basics - again!            01/01/70 00:00      
               More detail            01/01/70 00:00      
            No can do            01/01/70 00:00      
               Illustration            01/01/70 00:00      
   what i was doing..            01/01/70 00:00      
      You're going in circles            01/01/70 00:00      
      IPv6            01/01/70 00:00      
         Not relevant            01/01/70 00:00      
      Urgent?            01/01/70 00:00      
         sorry for writing urgent!!            01/01/70 00:00      
            Real Time??            01/01/70 00:00      
               re:why real time?            01/01/70 00:00      
                  But does that really require real time?!            01/01/70 00:00      
            No            01/01/70 00:00      
   Internet is not real-time!            01/01/70 00:00      
      internet is no real            01/01/70 00:00      

Back to Subject List