Board index » delphi » post, but not receive

post, but not receive

I want my program to Send information in a post, but I don't want my
computer waiting for a reply, and I don't want to set up a thread, but if I
have to, I will.

What I want to do is send the information, and then continue with execution,
and not wait for the reply to finish. I want my program to assume it
received it.

 

Re:post, but not receive


Quote
"Frederick" <jupiter11...@mn.rr.com> wrote in message

news:3cbcddb5_2@dnews...

Quote
> I want my program to Send information in a post, but I don't want my
> computer waiting for a reply, and I don't want to set up a thread, but if
I
> have to, I will.
> What I want to do is send the information, and then continue with
execution,
> and not wait for the reply to finish. I want my program to assume it
> received it.

Sounds like a UDP broadcast solution would be good here.

Re:post, but not receive


It is an ASP Server, and NOT mine. I made a program to automate some things,
and I don't want to wait for the response from the post.

I did say my program, not my server

Quote
"Arthuro" <hexorha...@vaxor.com> wrote in message news:3cbd2c3e$1_1@dnews...
> "Frederick" <jupiter11...@mn.rr.com> wrote in message
> news:3cbcddb5_2@dnews...
> > I want my program to Send information in a post, but I don't want my
> > computer waiting for a reply, and I don't want to set up a thread, but
if
> I
> > have to, I will.
> > What I want to do is send the information, and then continue with
> execution,
> > and not wait for the reply to finish. I want my program to assume it
> > received it.

> Sounds like a UDP broadcast solution would be good here.

Re:post, but not receive


So I have to use TidHTTP, which uses tcp   UDP is not an option
Quote
"Frederick" <jupiter11...@mn.rr.com> wrote in message

news:3cbd7e83_2@dnews...
Quote
> It is an ASP Server, and NOT mine. I made a program to automate some
things,
> and I don't want to wait for the response from the post.

> I did say my program, not my server

> "Arthuro" <hexorha...@vaxor.com> wrote in message

news:3cbd2c3e$1_1@dnews...
Quote
> > "Frederick" <jupiter11...@mn.rr.com> wrote in message
> > news:3cbcddb5_2@dnews...
> > > I want my program to Send information in a post, but I don't want my
> > > computer waiting for a reply, and I don't want to set up a thread, but
> if
> > I
> > > have to, I will.
> > > What I want to do is send the information, and then continue with
> > execution,
> > > and not wait for the reply to finish. I want my program to assume it
> > > received it.

> > Sounds like a UDP broadcast solution would be good here.

Re:post, but not receive


Also, I am using http, and http uses tcp, so udp is not an option

Quote
"Frederick" <jupiter11...@mn.rr.com> wrote in message

news:3cbd7e83_2@dnews...
Quote
> It is an ASP Server, and NOT mine. I made a program to automate some
things,
> and I don't want to wait for the response from the post.

> I did say my program, not my server

> "Arthuro" <hexorha...@vaxor.com> wrote in message

news:3cbd2c3e$1_1@dnews...
Quote
> > "Frederick" <jupiter11...@mn.rr.com> wrote in message
> > news:3cbcddb5_2@dnews...
> > > I want my program to Send information in a post, but I don't want my
> > > computer waiting for a reply, and I don't want to set up a thread, but
> if
> > I
> > > have to, I will.
> > > What I want to do is send the information, and then continue with
> > execution,
> > > and not wait for the reply to finish. I want my program to assume it
> > > received it.

> > Sounds like a UDP broadcast solution would be good here.

Re:post, but not receive


Maybe the IdAnti-freeze do what you want. Just drop one in your form.

--

Moiss

Quote
"Frederick" <jupiter11...@mn.rr.com> wrote in message

news:3cbcddb5_2@dnews...
Quote
> I want my program to Send information in a post, but I don't want my
> computer waiting for a reply, and I don't want to set up a thread, but if
I
> have to, I will.

> What I want to do is send the information, and then continue with
execution,
> and not wait for the reply to finish. I want my program to assume it
> received it.

Re:post, but not receive


Quote
"Frederick" <jupiter11...@mn.rr.com> wrote in message

news:3cbd89dc_2@dnews...

Quote
> Also, I am using http, and http uses tcp, so udp is not an option

Well in that case i'm afraid that you MUST wait for a response, there is no
other option for a tcp connection to be set up.
You can of course after sending the content, disconnect, but this can only
happen if you've communicated FIN/FIN Ack packets on the tcp level..
There are many component solutions that will enable you to do such a thing.
My personal favorite is Indy since it's very easy to program with, but there
are many others that can do the same job. ICS comes to mind..

Re:post, but not receive


it's just annoying that I have to wait for all the text of a page to load
after I post to the server.

My program would run so much faster if I didn't have to wait for the reply
page.

I am sending through a http.post('website',tstringlist); but I have to wait
for the page that the server returns. I just want it to accept the post, and
not reply.

BTW I do not have the ability to modify the server because I don't own it.

Quote
"Arthuro" <hexorha...@vaxor.com> wrote in message news:3cbe86f4$1_2@dnews...

> "Frederick" <jupiter11...@mn.rr.com> wrote in message
> news:3cbd89dc_2@dnews...
> > Also, I am using http, and http uses tcp, so udp is not an option

> Well in that case i'm afraid that you MUST wait for a response, there is
no
> other option for a tcp connection to be set up.
> You can of course after sending the content, disconnect, but this can only
> happen if you've communicated FIN/FIN Ack packets on the tcp level..
> There are many component solutions that will enable you to do such a
thing.
> My personal favorite is Indy since it's very easy to program with, but
there
> are many others that can do the same job. ICS comes to mind..

Other Threads