i try to script a port checker, that means, i try to check if udp port xxxxx (single 5-digit port) is open or not.

i activated the socket dll in php.ini and tried to solve it with fsockopen and socket_create (and related). i have not been successful. then i modified http://www.phpclasses.org/browse/package/3443.html (PHP classes portscanner) and http://www.getfreesofts.com/script/563/28884/PHP_Port_Scan.html phports, both lead to no success. i am really stuck.