I am working on communicating unity application with an PC app. Since I doesn't know how socket programming can be implemented in unity.Can anybody please help me in creating a simple small application using TCP socket with unity
Unity has two different networking subsystems: The old but still available Legacy Networking API and the New UNET Networking API. But both are high-level APIs designed around the Unity engine and don't offer low-level TCP/IP functionality (both are based on UDP). That means you can't use them to interface with something not developed in or specifically for Unity, especially not something which expects a TCP connection. You can also use the Unity class However, nothing stops you from using the standard networking classes available in the .NET framework. Specifically the class |
|||||||||||||
|