mirror of
https://github.com/n5ac/smartsdr-dsp.git
synced 2026-01-21 15:50:14 +01:00
Add errno output to hal_Listener_Init
This commit is contained in:
parent
ac61d281d0
commit
de0de8335e
|
|
@ -530,9 +530,10 @@ void hal_Listener_Init(void)
|
|||
{
|
||||
output("Vita Listener Init: Opening socket");
|
||||
|
||||
errno = 0;
|
||||
if((fpga_sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
|
||||
{
|
||||
output("...failed! (socket call returned -1)\n");
|
||||
output("...failed! (socket call returned -1) - errno = %d\n", errno);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue