With approximately this code, I was able to establish an SHS connection with my phone.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4204 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-03-08 02:49:41 +00:00
parent 61ff466908
commit 9127a18ff0
5 changed files with 9 additions and 2 deletions

View File

@ -2585,7 +2585,7 @@ static void _tf_ssb_send_broadcast(tf_ssb_t* ssb, struct sockaddr_in* address)
int r = uv_udp_try_send(&ssb->broadcast_sender, &buf, 1, (struct sockaddr*)&broadcast_addr);
if (r < 0)
{
tf_printf("failed to send broadcast %d: %s\n", r, uv_strerror(r));
tf_printf("failed to send broadcast for %s (%d): %s\n", address_str, r, uv_strerror(r));
}
}