BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ISAPI and sockets

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker
View previous topic :: View next topic  
Author Message
Smiljan
Guest





PostPosted: Tue Feb 10, 2004 9:18 am    Post subject: ISAPI and sockets Reply with quote



Hi!

Can anybody tell me if Client socket component works ok in ISAPI.
I have a program on the server which manages database (looks for records and
sends data to ISAPI) and it it using Server socket. On the other side ISAPI
dll is has a Client socket to comunicate to the first program. The problem
is that when ISAPI makes request to the first program (client->server
socket), the request never gets to the destination (first program).

Why is that?

Thank you.
Smiljan


Back to top
Yahia El-Qasem
Guest





PostPosted: Tue Feb 10, 2004 8:15 pm    Post subject: Re: ISAPI and sockets Reply with quote



try running your ISAPI with Administrator account - if there is no problem
then you have a rights problem...

Yahia


Back to top
Mike Thompson
Guest





PostPosted: Tue Feb 10, 2004 10:47 pm    Post subject: Re: ISAPI and sockets Reply with quote



Hi,

In addition to what Yahia said, you may also want to verify:

1. your sockets [client and server] are on the same port
2. you don't have a firewall blocking that program or port
3. you must use blocking.. the Tserversocket hasn't worked for me "well" in
an isapi but the Indy stuff has. Windows messaging doesn't apply in an Isapi


if you are already using blocking sockets [not TserverSocket], you might
want to create a generic windows server app [takes about 1 minute] and test
to see if it works with your client and then go from there.

good luck,

Mike.



"Smiljan" <smiljan.jankovic (AT) tespack (DOT) si> wrote

Quote:
Hi!

Can anybody tell me if Client socket component works ok in ISAPI.
I have a program on the server which manages database (looks for records
and
sends data to ISAPI) and it it using Server socket. On the other side
ISAPI
dll is has a Client socket to comunicate to the first program. The problem
is that when ISAPI makes request to the first program (client->server
socket), the request never gets to the destination (first program).

Why is that?

Thank you.
Smiljan





Back to top
Smiljan
Guest





PostPosted: Thu Feb 12, 2004 7:42 am    Post subject: Re: ISAPI and sockets Reply with quote

Thanks.

I only had to change Client type to ctBlocking and now it works OK.

Thanks again

"Mike Thompson" <mthompson (AT) yahoo (DOT) com> wrote

Quote:
Hi,

In addition to what Yahia said, you may also want to verify:

1. your sockets [client and server] are on the same port
2. you don't have a firewall blocking that program or port
3. you must use blocking.. the Tserversocket hasn't worked for me "well"
in
an isapi but the Indy stuff has. Windows messaging doesn't apply in an
Isapi


if you are already using blocking sockets [not TserverSocket], you might
want to create a generic windows server app [takes about 1 minute] and
test
to see if it works with your client and then go from there.

good luck,

Mike.



"Smiljan" <smiljan.jankovic (AT) tespack (DOT) si> wrote in message
news:4028a1d3$1 (AT) newsgroups (DOT) borland.com...
Hi!

Can anybody tell me if Client socket component works ok in ISAPI.
I have a program on the server which manages database (looks for records
and
sends data to ISAPI) and it it using Server socket. On the other side
ISAPI
dll is has a Client socket to comunicate to the first program. The
problem
is that when ISAPI makes request to the first program (client->server
socket), the request never gets to the destination (first program).

Why is that?

Thank you.
Smiljan







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.