 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Smiljan Guest
|
Posted: Tue Feb 10, 2004 9:18 am Post subject: ISAPI and sockets |
|
|
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
|
Posted: Tue Feb 10, 2004 8:15 pm Post subject: Re: ISAPI and sockets |
|
|
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
|
Posted: Tue Feb 10, 2004 10:47 pm Post subject: Re: ISAPI and sockets |
|
|
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
|
Posted: Thu Feb 12, 2004 7:42 am Post subject: Re: ISAPI and sockets |
|
|
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 |
|
 |
|
|
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
|
|