>But when I send the same to a Web server,
>after sending the data (GET /prueba.html HTTP/1.0\r\n\r\n) when I am trying
>to receive something the sockets is closed and I get nothing.

I find that I only need newline, not return characters:

GET /prueba.html HTTP/1.0\n\n

I've also found that some servers want a "Host:" header (I don't 
think this is an HTTP convention), even though you're connected to a 
specific host via the socket open:

GET /prueba.html HTTP/1.0\nHost:www.hostname.com\n\n

Regards,
Steve Mann
-- 
-------------------------------------------
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461              805.784.9462 (fax)
[EMAIL PROTECTED]       http://www.cdpubs.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to