+ 1
UDP connection object oriented for multiple machine
I have a c++ interface and also c# unity file on one machine. Also, I have another machine that data should be communicated through them. Before I used UDP between just 2 of them. C++ file is the server so others send their data through UDP and communicate. Could I create a UDP connection through c++ and unity And another one between c++ and another machine ?? If No. Is there any change for my code to use them in 1 server and 2 clients? Do you have any suggestions for this ?? Thanks a lot :)
1 Antwort
+ 2
I don't think i understood you just right. But the way i would have done it is the following.
C++ have a socket API in the window.h header, i would have that looked up.
So just make a socket connection for each communication.