Ping is not working. Telnet is not an option, sending a mail also. Preferably a function from a library that returns true or false.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If by working you mean open, you can just connect to the port and see if the socket opens successfully.
If you mean that it’s accepting valid SMTP over SSL, then you’d need a library that connects and issues a trivial SMTP command like HELO or something.
Chilkat has library code and examples for this.
Example connect code for win32: