achhayapathak / termtalk

Npm package to securely chat with your friend through your CLI.
https://www.npmjs.com/package/termtalk
MIT License
2 stars 1 forks source link

Port validation on client side #21

Closed achhayapathak closed 2 months ago

achhayapathak commented 3 months ago

Whenever I run npm run join and enter a port on which a server is not hosted, the application goes into 'Trying to connect to server on PORT XXXX ...' state. Rather we should see a message like 'No server is hosted on this port, please try a different one!' and the user should be prompted to enter the port number again.

achhayapathak commented 3 months ago

@yashkathe would you like to take this up?

yashkathe commented 3 months ago

@yashkathe would you like to take this up?

Yup I'll take this one