Connection to server without client.connect() in my code

Does omitting the client.connect() statement have any effect on my operations.
Am currently doing fine without it on a local host