SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

ReadMe file for the Whamb Sharing Protocol Daemon

Written by Jean-Edouard Babin (Jeb@jeb.com.fr)

To use the script type
perl WSD.pl "PLNAME=/path/to/audiofile/folder/" you can use more playlist with:
perl WSD.pl "PLNAME=/path/to/audiofile/folder/" "PLNAME2=/path/to/audiofile/folder/2" if you have a Whamb playlist file you can do perl WSD.pl "PLNAME=/path/to/whamb/playlist.wpl"

you may want to add & fo fork it

Note: You should start RendezVous before the script


The script require Perl 5.7.3 or later and the following module: - MP3::Info
- Encode
- HTML::Entities
You can install them with 'perl -MCPAN -e shell'

To check if you have this prerequisite just run ./test.sh


You also need RendezVous from Apple, it's open source http://developer.apple.com/darwin/projects/rendezvous/

The source code is Multicast DNS Responder:

http://www.opensource.apple.com/projects/rendezvous/source/Rendezvous.tar.gz

To download it you need a login/pass, it's free you can get one here:

http://www.opensource.apple.com/apsl/

Then decompress it "tar -xzf Rendezvous.tar.gz", "cd Rendezvous", and then 'cd' again to the right directory for your platform. 'cd mDNSPosix' should work fine for most users. Then type: - 'make os=linux' on linux
- 'make os=opensd' on openbsd
- 'make os=osx' on macosx
- 'make os=solaris' on solaris

if you are running NetBSD or FreeBSD edit the makefile you will see: ifeq ($(os),openbsd)
CFLAGS_OS = -DHAVE_SOCKADDR_SA_LEN -DHAVE_DAEMON -DHAVE_SOCKLEN_T -DHAVE_BROKEN_RECVDSTADDR change it to
ifeq ($(os),bsd)
CFLAGS_OS = -DHAVE_SOCKADDR_SA_LEN -DHAVE_DAEMON -DHAVE_SOCKLEN_T

and use make 'os=bsd'

You can start it with something like: build/mDNSResponderPosix -n "`hostname`" -t _whamb._tcp. -p 7603 -d You may also want to copy mDNSResponderPosix to your /usr/bin directory


WSD.pl can handle a single file transfer at a time (multiple file transfers support will be added later)

If you have question mail me at : Jeb@jeb.com.fr


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.