* changed the QSE_NWAD_LOCAL address format. it must be prefixed with @.

* fixed conversion error of a QSE_NWAD_LOCAL address to a string
This commit is contained in:
2014-09-27 15:22:08 +00:00
parent 117b1d3618
commit 39ab9d0320
3 changed files with 45 additions and 22 deletions

View File

@ -229,6 +229,12 @@ static qse_sck_hnd_t open_server_socket (int proto, const qse_nwad_t* bindnwad)
goto oops;
}
else
{
qse_char_t buf[512];
qse_nwadtostr (bindnwad, buf, QSE_COUNTOF(buf), QSE_NWADTOSTR_ALL);
qse_printf (QSE_T("binding address: %s\n"), buf);
}
bind_ok:
#if defined(IPPROTO_SCTP)