Chamsys MagicQ User Manual Instrukcja Użytkownika Strona 273

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 272
MagicQ User Manual 244 / 355
memcpy(&(rem->data),data,size);
my_broadcast_address.s_addr = ip_address | ~subnet_address;
name.sin_family = AF_INET;
name.sin_port = htons (REMOTE_ETHER_PORT);
name.sin_addr.s_addr = dwswap (my_broadcast_address.s_addr);
nbytes = sendto (remote_ether_sock,
message,
size(sizeof(remote_ether_message_t)-1),
0,
(struct sockaddr
*
) & name, sizeof(name)
);
if (nbytes>0) remote_ether_fwd++;
return (TRUE);
}
Przeglądanie stron 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 383 384

Komentarze do niniejszej Instrukcji

Brak uwag