Edit: To clarify, why I’m asking: Java has, in my opinion, the easiest and most comfortable API. Especially regarding Networking.
Additionally, this is the language I am most proficient in.
You need some sort of C wrapper around your Java code, in short. I don’t think this is something OTEE needs to “support” as it should be possible already and they couldn’t do much to make it better.
But I wonder why you want to do this. C# is a lot like Java, really. Sure there are a few big differences, but I think you’d be way better off doing your stuff in C# with Unity. If you know Java, C# should be really easy to pick up.
Have you looked at the .NET networking classes?
Socket, TcpListener, TcpClient, and UdpClient, in particular.
I can’t explain it, really. I just got so used to Java, it’s like my mother tongue. I have written Programs in C++ (which I guess is a lot like C# ?) but it just feels…awkward.
Thanks a lot for the link! I didn’t realize such a documentation existed. That should help tremendously.
Anyway, just planing at the time, since I need Pro to implement Plug-Ins.
C# is probably more similar to java than c++.
If you can, I’d go with C#.
It’s going to be a lot easier and more convenient to write code in C# or one of the other languages, than in a plugin.
C# is a lot like Java. Much more similarities between them than C++. And .NET is a pretty clean API as well, and it has networking classes built in (so you don’t need to write a plugin at all).