6
Answers

Sockets: Send strings from Java to C#?

Sergey K

Sergey K

13y
9.2k
1

Hello,

 I need to send string messages from Java program to C# program in real time.
 There are many examples in the Internet but I can't find anything good for my purpose that is (probably) Java client (sockets code) and c# server (sockets code).
 
 For example, I tred this: http://mediakey.dk/~cc/java-and-c-client-server-socket-programming/ but without success. (It seems connection can't be established when using that code).
I would be especially grateful if anyone could give me a simple working code for this task.
 
 Thank you.

Answers (6)