edenhazard701/Koena

Check Port Status

Closed this issue · 4 comments

Check Port Status

How to check that the port 25 is opened for SMTP server?

You can check the port status with fsockclose()- php function.

The fsockopen() function is a standard cURL function and works with both PHP and Perl. It's not fit in this case.
What about getservbyport()?

The fsockopen() function is a standard cURL function and works with both PHP and Perl. It's not fit in this case. What about getservbyport()?