Networking

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”

“Couldn’t Bind to HTTP”

Have you tried 0.0.0.0 or 127.0.0.1? Or a different port? Perhaps this isn’t your IP or perhaps there’s indeed something else listening on 8080?