What would be the best way to implement a connection in juice??
Ive done audio programming before but networking is slightly new to me, I understand the concepts I just haven’t don’t the programming parts. Im thinking of using the TCP streaming socket class and I am able to pick. up the IP’s however I can’t seem to bind to any ports.
juce::StreamingSocket socket;
if(socket.bindToPort(8080, "10.141.106.64"))
{
for(int k = 0; k < 10; k++)
DBG("Bound to HTTPS 443");
}
else
{
for(int k = 0; k < 10; k++)
DBG("Couldnt Bind to HTTP");
}
juce::Array<juce::IPAddress> ips;
ips = juce::IPAddress::getAllAddresses();
for(int k = 0; k < ips.size(); k++)
{
for(int c = 0; c < 10; c++)
DBG(ips[k].toString() << " Is IP address " << k );
}
I get “Couldn’t Bind To HTTPS 443”