Good morning!
I have the following PHP code to send commands via UDP:
function sendPacket($packet, $ip, $port){
$socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
socket_set_option($socket, SOL_SOCKET, SO_BROADCAST, 1);
$message =...
asked by
01.03.2017 / 18:09