This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| sdk:scripts:dio-server [2018/06/20 15:42] – juraschek | sdk:scripts:dio-server [2022/06/28 13:28] (current) – schmitt | ||
|---|---|---|---|
| Line 144: | Line 144: | ||
| /* bind to port (and address) */ | /* bind to port (and address) */ | ||
| - | if (ADDR == "" | + | ret = bind(sock, PORT, ADDR); |
| - | ret = bind(sock, PORT, "" | + | |
| - | } else { | + | |
| - | | + | |
| - | } | + | |
| if (ret == -1) { | if (ret == -1) { | ||
| printf(" | printf(" | ||