So for example, this will fail when I run it on my PK70:
Code: Select all
IPADDR serverIP;
int resp = GetHostByName( "www.netburner.com", &serverIP, 0, TICKS_PER_SECOND*2 );
if (resp==DNS_OK)
{
int fds = SSL_connect( serverIP, 0, 443, TICKS_PER_SECOND*4, 0 );
iprintf( "Response = %d", fds );
}
Note: I have certificate checking disabled (ie: NB_SSL_CLIENT_CERTIFICATE_CHECKING_ENABLED is undefined).
It also works fine from my PC (ie: curl -k -v https://www.netburner.com)
Any suggestions would be much appreciated!