Internet Multicasting
By Bob Quinn, October 01, 1997
Multicasting lets you deliver content from a single sender to multiple receivers. Bob uses the multicast-enabled WinSock API to present TimeCast, a one-to-many application that multicasts the time of day to multiple clients.
Dr. Dobb's Journal October 1997: The IP Multicast Initiative
The IP Multicast Initiative
By Bob Quinn
Dr. Dobb's Journal October 1997
hSocket = socket(AF_INET, SOCK_DGRAM, 0);
if (hSocket == INVALID_SOCKET) {
printf ("socket() failed, Err: %d\n", WSAGetLastError());
exit(1);
}
Example 2: Get a datagram socket.
Copyright © 1997, Dr. Dobb's Journal