Fix connect() that I accidentally changed earlier.

Signed-off-by: Daktyl198 <rootme198@outlook.com>