[openbeosnetteam] DHCP Status + Help Needed
- From: "David Enderson" <DEnderson@xxxxxxxxxxxxxx>
- To: <openbeosnetteam@xxxxxxxxxxxxx>
- Date: Tue, 12 Oct 2004 16:56:04 -0500
Networking Team,
I'm into my second week of unpaid vacation and have spent part of the
time working on the Haiku DHCP implementation as promised. I've got a
nearly complete understanding of the RFC and I've enough of the client
together for some test messages with a DHCP server.
(This is where the "Help Needed" part comes in)
What I'm lacking is the ability to broadcast a UDP packet. I have
googled for numerous examples and have been thoroughly frustrated. I
think I can send a UDP packet, but I can't get broadcast to work. I
implemented a working sockets implementation for an open source game a
while back, so I think I can do this, I just need the...rosetta
stone...if you will for UDP.
Can anyone point me towards excellent, simple, and COMPILEABLE examples?
I would greatly appreciate it! The "compileable" rant there was aimed
at many websites, not you guys. I found so many nice looking examples
that wouldn't compile. I'm compiling my code right now on my Linux box
since it has VI syntax highlighting and more complete networking calls.
Once I get it working on there I'll make the code portable.
Any help would be appreciated. Thanks. I'm not posting any of my
troublesome UDP code because I really don't know what I'm doing. I just
need to be pointed towards good, clean, working examples.
Thanks,
David
Other related posts: