This manual will be a great help for you!!
http://www.dmp.com.tw/tech
Main Topics
Browse All TopicsI'm trying to write a C function that accepts an ASCII string as it's input parameter and broadcasts that text over the network as a UDP packet.
I have no idea where to start with this.
Here's a brief example of what i mean...
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
This manual will be a great help for you!!
http://www.dmp.com.tw/tech
basically
fd = socket() // create a socket
sendto( fd, ...) // send datagram to listening socket
recvfrom( fd, ...) // get response from server
close( fd) // close the socket
An excellent text for the fine details is Stevens, Unix Network Programming
A quick overview can be had with
http://pages.cpsc.ucalgary
Business Accounts
Answer for Membership
by: mfhorizonPosted on 2009-04-10 at 09:31:18ID: 24116882
You want to set the EnableBroadcast property on the UdpClient instance
set to true. Once you do that, you want to send your request to the IP
address of 255.255.255.255. From the documentation for the EnableBroadcast
property on the UdpClient class:
Broadcasting is limited to a specific subnet. You can broadcast to your
local subnet by sending a packet to 255.255.255.255; or, you can use the
directed broadcast address, which is the network portion of an Internet
Protocol (IP) address with all bits set in the host portion. For example, if
your IP address is 192.168.1.40 (a Class C address, with the network portion
as the first three octets, and the host portion is the last octet), your
directed broadcast address is 192.168.1.255.