That's right. Otherwise, it would be quite difficult to write a web browser and a web server, as an example ...
Of course, the data you exchange on a socket can be easier to read in one language than the other - for example, if you use Java DataOutputStream , on the other hand, it will be easier to control data from Java on the other end. But you can still read this data as the format is well documented.
If you put data absolutely platform-specific on the network, however, this complicates the work — for example, it would be difficult to use an object serialized with Java ObjectOutputStream from a platform other than Java.
But at the raw socket level, there is no concept of what programming language the source was written to.
Jon skeet
source share