Emil Engler e77f187274 sample: use unsigned short instead of int for port
The C standard gurantees that an unsigned short is at least up to 65535
huge. Enough to store every TCP port. Also the parameter PORT is
overgiven to the `htons()` function which assumes that the parameter is
of type `uint16_t` which unsigned short is on most platforms.
2021-04-03 12:50:00 +03:00
..
2020-09-16 11:57:52 +08:00
2020-07-23 00:28:09 +03:00
2020-07-24 17:19:14 +08:00