>Hi Larry!
>Thank for participation in a problem.
>
>>Do you have code in the DataArrival event to handle the >incoming data using >GetData?
>I have code in the DataArrival event to handle the incoming data using GetData.
>But property DATAArrival does not reach.
>
>>When you say Connect returns .T., check the Status property to see if it is >really connected.
>Yes, the Status property is Zero.
>But using protocoä UDP all well works.
There is no Status property. That was a mistake on my part. It should have said State. If the state property is 0 then you are not connected. the connection is closed. It should be 7 if you are talking to one another.
As nothing else appears to be wrong and it is working with another protocol, it sounds like you have a problem with TCP. Can you ping the client from the server? Can you ping the other way?
From the server:
ping < IP address of the client >
From the client:
ping < IP address of the server >
If this works, you may have a problem witht he ports being used. Try another port.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao