Does you console mode program have a message pump ?
Without message pump, you wont have any event triggered.
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: "Patrick Wong" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 22, 2005 4:48 AM
Subject: [twsocket] Assign eve
Dear all,
I am writing a simple mail client in console application form. I manually
created a TSmtpCli object for my purpose.
The problem is that after I call the SmtpClient->Connect() method, the client
fails to connect to the SMTP server. I referenced the MailSnd example and did
set SmtpCl
Hi Guys,
I'm hoping that you can help me. I have a web server application which is
compiled under Windows and Linux (common source).
On the Windows platform I derive from TCustomWSocket and use Delphi 7
Professional.
On the Linux platform, I derive from TIcsCustomSocket on use Kylix 3
Profession
Ok, thanks so much. I made the changes and it works (though I didn't
tested extensively yet).
For reference, this is what I did:
- use of Connection.PostedDataReceived in the PostedData-event
- I don't use LineMode at all (no change if I do)
- Changing the way I was answering to GET commands fro
Hurrah!!
I've found that with the demo HttpGet, I can make what I need happen.
Now I "just" have to transplant the essentials into my own app
Thanks for the help, encouraging me to keep at the problem...
Tom
(Free data logging program and sourcecodenow at
http://sheepdogsoftware.co.uk/ssDD
A browser is much much more than simply getting HTML and other kind of
documents.
Writing a complete browser is really a huuge task.
I suggest you simply use TWebBrowser component within your Delphi
application. TWebBrowser component is the heart of IE into and ActiveX. So
you program will
Is there a simple way to implement a sort of graphics browser (like IE - and
probably only like IE) in your own user interface? Is it possible to be done
with ICS? If not can you support me with the name of a component that would do
this? I need this mainly to run a javascript from the url which
Both Post and Get will result in that you get an answer from the server. The
differense of these 2 is what you send to the server.
The reason that Post exist is that you get more possibility to send more
data in the request. If you want to uppload a file to a webserver, then you
use Post. If you j
> Are you sure "Get" is the way to go?
Yes because you say you "get" the URL using a browser.
> My program works.. for LAN, not internet, if I use Post.
> Doesn't work at all with Get.
Please go back to HttpTst and try to "get" the URL. It works from here using
the URL
http://80.250.3.197/tempe
Many thanks for the quick reply!
I've spent 2 hours trying Get instead of Post... there are still some
areas I could explore... maybe Get is better, and I'm just meeting
the NEXT problem, but
Are you sure "Get" is the way to go?
So far:
My program works.. for LAN, not internet, if I use Po
> cmd> POST /temper.xml HTTP/1.0
Why are you using Post ? It should probably be a Get.
--
[EMAIL PROTECTED]
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.ove
Bear with me? I suspect the question will be easy for someone... but
I have to set a scene:
I have written an HTTP client app, using ICS. The heart of my program
was created from the ICS demo "HttpTst".
The program fetchs some XML from a little box you can plug into a LAN
or the internet. The
> Yes, and now I partially know how the client works internally. But I
> never worked on the source of the server, so I should first learn how
> it works internally.
It's quite simple. Each client has his own TWSocket instance. This reduce the
problem to a single
user.
> I checked (very quickly)
> I checked this and I am pretty sure it happens only on second
> time connections. When I first do a GET or POST, it always works.
Just out of my head, here is som possible reasons that maybe can cause your
problem.
- The header you generate has wrong content length that tells the length of
the
> I tried to find a reproductible case, and it seems I found one, with a
Very interesting.
Can you publish this sample code and related pages so that we can have a look
at it and reproduce
the problem ourself ? I always say: "If I can reproduce a problem, I can fix it
!".
--
[EMAIL PROTECTED]
ht
15 matches
Mail list logo