Java Server & C# client communicating through sockets
I have to program a program which consists of a C# client sending a large file through sockets to a Java server where it accepts the file transfer and then it is needed to transfer this particular file to another C# client.
I am able to do the basic connection so far using SocketType = TCP, however, when I send my files, I realised that when the network is busy, my receiving end at the server gets distorted. I heard that using synchronous sending and receiving can solve this problem because my sending & receiving is done in sequence. Is there any examples that you all have because I kinda search alot of places, yet I don't get what I want.
Is InputStream of synchronous receiving? Please advise me.