Closed petrkr closed 3 months ago
Redone TCP connect function. Get rid of deprecated gethostbyname function and replaced it by getaddrinfo, which makes also work IPv6 out-of-box.
Tested
All working.
Rebased to latest master, added port range check, put max size to definition, use snprintf instead of sprintf. Updated code style to match rest of code
Redone TCP connect function. Get rid of deprecated gethostbyname function and replaced it by getaddrinfo, which makes also work IPv6 out-of-box.
Tested
All working.