DELPHI C# socket communication

  • Thread starter Thread starter Hafiz321
  • Start date Start date
H

Hafiz321

We have created a program in C#. This is server program. We have also
created a client program written in DELPHI which is sending continous
request to server program.


We have used tcpListener.AcceptTcpClient() method to return
TcpClient object to connect with CLIENT APPLICATION.

After creating object we are using
binaryWriter.Read(BArrayClientRequest, 0, BArrayClientRequest.Length);
What we are seeing sometimes in few cases it is taking lots of time to
communcate with client program through BinaryWriter.

Is the problem related with DELHPI C# communication?

any idea ?
 
Hafiz321 said:
We have created a program in C#. This is server program. We have also
created a client program written in DELPHI which is sending continous
request to server program.


We have used tcpListener.AcceptTcpClient() method to return
TcpClient object to connect with CLIENT APPLICATION.

After creating object we are using
binaryWriter.Read(BArrayClientRequest, 0, BArrayClientRequest.Length);
What we are seeing sometimes in few cases it is taking lots of time to
communcate with client program through BinaryWriter.

Is the problem related with DELHPI C# communication?

any idea ?

Sounds more like a network or TCP/IP problem.

Arne
 
Back
Top