I establish a TCP connection to an Apple server from my windows computer using a WCF service in C#, and I receive a successful response and the server performs the necessary actions.
However, there is a problem when a Mac tries to connect to the same TCP Server after I connected to it, received my success response, and closed the connection. When the Mac tracks my requests, it shows a "badly formatted request" on my part, and the Mac is unable to perform the connection. I am still able to perform a TCP connection though and receive a successful response; however, according to the Mac tracking the connections to this server, all of my requests are "badly formatted."
How do I format my request correctly for connecting to an Apple server from Windows? Any suggestions will be appreciated.