^ ahahahaha. Certified white hat. I salute you master.

Originally Posted by
simoncpu
Bro, try daw ug node.js... Nindot siiya nga language for developing network apps... ECMAScript (JavaScript) iya gigamit, but you can write a web server (or a utility that sends UDP datagrams, in your case) in less than a dozen lines.
Naay sample code sa documentation for creating a UDP server that listens to port 41234:
Code:
var dgram = require("dgram");
var server = dgram.createSocket("udp4");
server.on("message", function (msg, rinfo) {
console.log("server got: " + msg + " from " +
rinfo.address + ":" + rinfo.port);
});
server.on("listening", function () {
var address = server.address();
console.log("server listening " +
address.address + ":" + address.port);
});
server.bind(41234);
I will soon try this bro.
Another learning na sad ni. The more the better. Thanks kaayo.
If naa ko extra time I will definitely try this.
Salamat kaayo sa inyo mga reply, tips and advices sa dri na thread mga masters.
I really appreciate it.
And sorry kaayo karun lang ko ka reply kay busy kaayo sa hardware.
By the way finally maka listen/receive na jud ko ug UDP socket sa PHP.
Here's the code:
Code:
<?php
$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
socket_bind($sock, "192.168.2.3", "6767") or die('Could not bind to address');
while(1) {
echo socket_read($sock,6767);
}
socket_close($sock);
?>
192.168.2.3 > my ip address
6767 > port to listen to