Code

connect.c: stricter port validation, silence compiler warning