Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi All,

I want to communicate Linux and Window operating system via socket programming.
The application has been developed in Java for the Linux and C# for window.
Is it possible to connect the java socket with window socket?

Theoretically it may possible just want to confirm.
Please let me know if anyone has idea regarding this.

Thanks,
Mahendra
Posted

1 solution

Yes, it is quite possible.

I don't know what to discuss here. This is obvious. The concept of the socket is not specific to .NET or Java, it is universal; and C# and Java code will have a lot of similarities. Further considerations will depend on what you want to achieve.

—SA
 
Share this answer
 
v2
Comments
GAJERA 30-Apr-13 0:26am    
Do you have any example or reference for the same?
Sergey Alexandrovich Kryukov 30-Apr-13 0:37am    
Not sure. Not on Java. I just know how API looks and works, did a lot of socket communications... it's all the same, basically...
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900