Skip to content

Commit 9931baf

Browse files
author
Amanda Butler
authored
Update example to latest APIs in tls_tutorial.md
Apply changes from PR #1246 to v5.15.
1 parent 769eb06 commit 9931baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorials/using_apis/connectivity/tls_tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ if (result != 0) {
127127
}
128128

129129
printf("Connecting to os.mbed.com\n");
130-
result = socket->connect("os.mbed.com", 443);
130+
result = socket->connect(SocketAddress("os.mbed.com", 443));
131131
if (result != 0) {
132132
printf("Error! socket->connect() returned: %d\n", result);
133133
return result;

0 commit comments

Comments
 (0)