I have a question. Please forgive me if this question seems overly stupid, I’m wading deeper into the coding world and my knowledge is lacking sometimes.
I would like to know if it’s possible to have a Unity app and a completely different program on a networked machine communicate with each other. The idea being that the Unity app is acting as a server of sorts, receiving simple data (text and variables for example) from other machines and reacting to it (without transmitting data back however).
If this is possible, how would you go about it?
Not looking for a complete guide or anything, just want to know if such a thing is possible (if it is) the direction I should be headed in.
searching around I’ve found something called Mono for making use of C# (which is where .net sockets would come from right?) on Mac. Is this what I would need?
I suppose there are such sockets available on Mac (maybe in C++)
In my company, we’ve used such sockets to establish a communication between a unity web app and a Microsoft Surface (both in .net though), and we’ve got a project with a C++ socket sending datas (inputs in this case).
MonoDevelop is what allows Unity to use .NET libraries and still be cross-platform.
We’re currently using .NET sockets for a Unity client that communicates with a server written in Java, so yes it’s very do-able and not that difficult to get the basics going.