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:
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user