/CrossLanguageTCP

A cross language implementation of TCP sockets in Java and C#. The example shows how to send Strings and integers.

Primary LanguageC#

CrossLanguageTCP

A cross language implementation of TCP sockets in Java and C#. The example shows how to send Strings and integers.

How to use

  1. Start the Java server
  2. Start the C# client
  3. Write message in console to send to the server

This is just a vary basic implementation of sockets with C# and Java that I made to help others. The difficulties of sending data from C# to Java or back is to understand that Java uses Big-Endian for bytes order while C# uses LittleEndian.