UNP practice code
- wrong data type
inet_ntop.c:60:9: error: argument ‘size’ doesn’t match prototype
solve method: just change the size
to socklen_t
- can't find header file
unproute.h:3:45: fatal error: net/if_dl.h: No such file or directory
solve method: leave that alone, that's for BSD not for Linux
- /daytimetcpcli 127.0.0.1 connect error: Connection refused
solve method: complie the server and star the server first