Removed constructor argument
Used ip and port constants for connecting