Re: [twsocket] Help in understanding Web Service

2007-02-05 Thread mike
Francois,

Thank you for the reply.

I did actually get a web page to be sent, but what I did was load a web page 
with
Stream->LoadFromFile(); So I am not sure why the dynamic virtual page was not
sent.

If you could send me the compiled version then I could test it and see if it 
works.
I am using Builder 5 just to let you know. 

Thanks

Mike

-Original Message-
>From: Francois PIETTE <[EMAIL PROTECTED]>
>Sent: Feb 4, 2007 10:10 AM
>To: ICS support mailing 
>Subject: Re: [twsocket] Help in understanding Web Service
>
>You probably have a problem with your ICS installation. Please download 
>again from my website and reinstall.
>If you want I can mail you the executable built with the latest release so 
>that you can verify it works on your system (in that case you ICS 
>installation is corrupted) or not (in that case your system has something 
>special - at least).
>
>--
>Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
>--
>[EMAIL PROTECTED]
>http://www.overbyte.be
>
>
>- Original Message - 
>From: "mike" <[EMAIL PROTECTED]>
>To: "ICS support mailing" 
>Sent: Sunday, February 04, 2007 2:08 PM
>Subject: Re: [twsocket] Help in understanding Web Service
>
>
>> Hello,
>>
>> Well I have studied the webserv example more and seem to have a bit better 
>> understanding of what is happening, however I have some additional 
>> questions which I hope someone could answer for me.
>>
>> 1- In the sample, if a request comes in to send to the browser a web page 
>> indicated as "/time.htm", webserv is supposed to send back a virtual page 
>> constructed from within the sample. The virtual page consists of some 
>> basic html code which is built in a data stream and then the data stream 
>> is sent via the
>>
>> ((TMyHttpConnection *)Client)->SendStream();
>>
>> However the browser never receives this web page. I don't understand why 
>> this page would never be received by the browser. Could someone explain 
>> this to me or tell me how it should be sent to the browser.
>>
>> Thank you
>>
>> Mike
>>
>>
>> -- 
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be 
>
>-- 
>To unsubscribe or change your settings for TWSocket mailing list
>please goto http://www.elists.org/mailman/listinfo/twsocket
>Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Help in understanding Web Service

2007-02-04 Thread mike
Francois,

Thank you for the reply.

I did actually get a web page to be sent, but what I did was load a web page 
with  Stream->LoadFromFile(); So I am not sure why the dynamic virtual page was 
not sent.

If you could send me the compiled version then I could test it and see if it 
works. I am using Builder 5 just to let you know. 

Thanks

Mike


-Original Message-
>From: Francois PIETTE <[EMAIL PROTECTED]>
>Sent: Feb 4, 2007 10:10 AM
>To: ICS support mailing 
>Subject: Re: [twsocket] Help in understanding Web Service
>
>You probably have a problem with your ICS installation. Please download 
>again from my website and reinstall.
>If you want I can mail you the executable built with the latest release so 
>that you can verify it works on your system (in that case you ICS 
>installation is corrupted) or not (in that case your system has something 
>special - at least).
>
>--
>Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
>--
>[EMAIL PROTECTED]
>http://www.overbyte.be
>
>
>- Original Message - 
>From: "mike" <[EMAIL PROTECTED]>
>To: "ICS support mailing" 
>Sent: Sunday, February 04, 2007 2:08 PM
>Subject: Re: [twsocket] Help in understanding Web Service
>
>
>> Hello,
>>
>> Well I have studied the webserv example more and seem to have a bit better 
>> understanding of what is happening, however I have some additional 
>> questions which I hope someone could answer for me.
>>
>> 1- In the sample, if a request comes in to send to the browser a web page 
>> indicated as "/time.htm", webserv is supposed to send back a virtual page 
>> constructed from within the sample. The virtual page consists of some 
>> basic html code which is built in a data stream and then the data stream 
>> is sent via the
>>
>> ((TMyHttpConnection *)Client)->SendStream();
>>
>> However the browser never receives this web page. I don't understand why 
>> this page would never be received by the browser. Could someone explain 
>> this to me or tell me how it should be sent to the browser.
>>
>> Thank you
>>
>> Mike
>>
>>
>> -- 
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be 
>
>-- 
>To unsubscribe or change your settings for TWSocket mailing list
>please goto http://www.elists.org/mailman/listinfo/twsocket
>Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Help in understanding Web Service

2007-02-04 Thread Francois PIETTE
You probably have a problem with your ICS installation. Please download 
again from my website and reinstall.
If you want I can mail you the executable built with the latest release so 
that you can verify it works on your system (in that case you ICS 
installation is corrupted) or not (in that case your system has something 
special - at least).

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


- Original Message - 
From: "mike" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Sunday, February 04, 2007 2:08 PM
Subject: Re: [twsocket] Help in understanding Web Service


> Hello,
>
> Well I have studied the webserv example more and seem to have a bit better 
> understanding of what is happening, however I have some additional 
> questions which I hope someone could answer for me.
>
> 1- In the sample, if a request comes in to send to the browser a web page 
> indicated as "/time.htm", webserv is supposed to send back a virtual page 
> constructed from within the sample. The virtual page consists of some 
> basic html code which is built in a data stream and then the data stream 
> is sent via the
>
> ((TMyHttpConnection *)Client)->SendStream();
>
> However the browser never receives this web page. I don't understand why 
> this page would never be received by the browser. Could someone explain 
> this to me or tell me how it should be sent to the browser.
>
> Thank you
>
> Mike
>
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Help in understanding Web Service

2007-02-04 Thread mike
Hello,

Well I have studied the webserv example more and seem to have a bit better 
understanding of what is happening, however I have some additional questions 
which I hope someone could answer for me.

1- In the sample, if a request comes in to send to the browser a web page 
indicated as "/time.htm", webserv is supposed to send back a virtual page 
constructed from within the sample. The virtual page consists of some basic 
html code which is built in a data stream and then the data stream is sent via 
the 

((TMyHttpConnection *)Client)->SendStream();

However the browser never receives this web page. I don't understand why this 
page would never be received by the browser. Could someone explain this to me 
or tell me how it should be sent to the browser.

Thank you 

Mike


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Help in understanding Web Service

2007-02-03 Thread mike
Bevan,

Thank you.

Ah, yes you are correct. To many late nights!!!

Mike

-Original Message-
>From: [EMAIL PROTECTED]
>Sent: Feb 3, 2007 9:06 PM
>To: twsocket@elists.org
>Subject: Re: [twsocket] Help in understanding Web Service
>
>Hi Mike,
>
>> I have a need to create a Web Server to answer requests from web browsers.
>> So I have tried the WebServ example but I am not sure how to send requests
>> to it. Here is what I tried;
>> 
>> 1- Ran the application on my windows XP machine and when I tried to start
>> the service on port 80 I received an exception stating the address is
>> already in use. (10048 error)
>
>So you have a web server running on your machine already - probably Personal 
>Web Server, or something like that.
>
>> 2- So I tried a different port (6080) and the service started ok.
>> 
>> 3- So now from Internet Explorer I tried to connect to the service with the
>> following
>> 
>> http://pavallion8000/webserv:6280/
>> 
>> and I received a web page stating ;
>> 
>> Forbidden
>> You don´t have permission to access /webserv:6280/ on this server.
>
>I think you want http://localhost:6080 or http://pavallion8000:6080
>
>Regards,
>
>Bevan
>
>
>
>
>

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Re: [twsocket] Help in understanding Web Service

2007-02-03 Thread bevan
Hi Mike,

> I have a need to create a Web Server to answer requests from web browsers.
> So I have tried the WebServ example but I am not sure how to send requests
> to it. Here is what I tried;
> 
> 1- Ran the application on my windows XP machine and when I tried to start
> the service on port 80 I received an exception stating the address is
> already in use. (10048 error)

So you have a web server running on your machine already - probably Personal 
Web Server, or something like that.

> 2- So I tried a different port (6080) and the service started ok.
> 
> 3- So now from Internet Explorer I tried to connect to the service with the
> following
> 
> http://pavallion8000/webserv:6280/
> 
> and I received a web page stating ;
> 
> Forbidden
> You don´t have permission to access /webserv:6280/ on this server.

I think you want http://localhost:6080 or http://pavallion8000:6080

Regards,

Bevan





-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be