Mulitple Connection Fails in TDI !

Hi All !
I have a TDI client where I want to open more then one connection to a
Server.
The Driver works fine for the first time, send and receive the Data but when
I try to open the second connection by passing an altogether different handle
and file Object , The TDI_CONNECT fails with 20A, i.e,
STATUS_ADDRESS_ALREADY_EXISTS .even though the opening of transport address
and a connection end point and their association status is SUCCESS, for
second connection !
In Case I close the earlier Address, The same piece of Code works fine and I
get the second connection to be Successful. though the very purpose of having
multiple connections is not achieved. !

Can anybody throw some light on this or let me know how to open multiple
connections between a same client and Server machine in a TDI client?

Regards
Anurag

Maybe your second address should have a different port than the first one
?

Nicolas Mugnier

Thanks a lot for replying to the Query Nicolas
U r right, I have already fixed that by passing the Port as “0” for Opening
the Local TransPort Address.

Regards
Anurag

On Monday 18 November 2002 01:43 pm, you wrote:

Maybe your second address should have a different port than the first one
?

Nicolas Mugnier


You are currently subscribed to ntdev as: xxxxx@dcmtech.co.in
To unsubscribe send a blank email to %%email.unsub%%