I was wondering if anyone could advise the best approach to this problem.
I’ve got 8 PCs connected to the internet. I’d like the PCs to be able to speak to each other directly, however this approach is problematic with udp and impossible with tcp.
So pc 1 would be connected to pcs 2,3,4,5,6,7,8
PC1 can send different messages to the other PCs using their stored ip & port.
Are broadcast and multicast in udp manager only for sending the same data to all?
Can a piece of software receive and send udp? i.e.
Using ofxUDPManager is it possible to connect to multiple addresses & ports to send, and listen (bind) to multiple incoming ports?
I can only see:
int Send(const char* pBuff, const int iSize); //all data will be sent guaranteed. int SendAll(const char* pBuff, const int iSize);
Is there any way to send a buffer to a specific port & host?