[Napshare-developer]LAN mode Gnucleus Finder Program
Brought to you by:
web1
From: Nate <we...@mo...> - 2003-11-20 13:38:04
|
For those of you interested in operating on a LAN with Gnucleus users, I threw this little bit of code together, it should find any Gnucleus on your local network, just like Gnuc does when it starts in LAN mode=2E It will tell you the IP:port and the LAN name=2E Download it, put it in it's own directory, compile and run it=2E You may need to set in your own network broadcast IP if it doesn't work the first time, see the top part of the source code for more info=2E The first response is always yourself=2E Get it at: http://napshare=2Esf=2Enet/findgnuc=2Ec (if it's not there then look in the latest tar=2Egz file) There's a thread with more info about this at: http://www=2Egnutellaforums=2Ecom/forumdisplay=2Ephp=3Fforumid=3D20 Let me know how it works for you=2E Here's my test output: $ gcc -o findgnuc findgnuc=2Ec $ =2E/findgnuc Make sure port 5467 is not firewalled, UDP packets must get back to us! Check that your network broadcast IP is: 255=2E255=2E255=2E255 GNUCLEAR PING Sent! (now waiting for responses, to stop use cntl-c) GNUCLEAR PING "PROBING-NETWORK-ONLY" at 192=2E168=2E0=2E1:6346 GNUCLEAR PONG "MYNETWORK" at 192=2E168=2E0=2E251:6346 GNUCLEAR PING "MYNETWORK" at 192=2E168=2E0=2E248:6346 DONE (5 minutes) Powered by Rockliffe MailSite http://www=2Erockliffe=2Ecom |