I have a few questions. Server-client code with a (distributed) hash table. Give the peers their own port, own node-ID, predecessor and successor ( node-ID, IP and port of them). That's a snippet of it. port= argv[1]; ownNodeID = atoi(argv[2]); sucNodeID = atoi(argv[3]); sucIP = argv[4]; sucPort = argv[5]; preNodeID = atoi(argv[6]); preIP = argv[7]; prePort = argv[8]; int sizeOfHashTable = (ownNodeID > preNodeID)? ownNodeID-preNodeID : preNodeID-ownNodeID; entry hashtable[sizeOfHashTable]; for(i=0;i<sizeOfHashTable-1;i++){ hashtable[i].occupied=0; hashtable[i].key=0; hashtable[i].value=0; } memset(&hints, 0, sizeof hints); hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_DGRAM; hints.ai_flags = AI_PASSIVE; So the first line takes are of the port. But why argv[1] ? …

Member Avatar
+0 forum 0

Well i havent posted here for a while lol....but im hopefully going to get back into posting here in the forums. Anyways, I recently downloaded WOW with a 10 day trial version for free, Due to the fact i dont have a credit card and I'm not going to ask my parents for theres i need an alternative game :mrgreen: What im looking for is a game like WOW where you level up and various things but i dont want it to be a browser game like runescape(tryed it once HATED IT) so basically its something you download...make an account.. …

Member Avatar
Member Avatar
-2 forum 144

I am currently in the research and planning phase for a mobile app, I have never done a mobile app before so please bare with me if I missed some obvious things. The final app will allow users to find other people with similar interests in their vicinity and allow them to meet up, similar to Foursquare. My question for this thread is, what are the different possibilities of sending data from one phone to another using only the internet? (more specifically, sending the updated location and maybe some chat messages) From what I have found so far I can …

Member Avatar
+0 forum 0

i want to append a node in the linked list when i append this as struct node*p; p=NULL; append(p,1); where function is declared as append(struct node*q int num) i append three node, after this i call the function for counting the node, i get the total no node is 0, while i have appended the node. what is the error... please help me...

Member Avatar
Member Avatar
+0 forum 1

Hello everyone! I have a question regarding p2p software. I need to build a file sharing system. I am going to build it on .NET platform, in C# language. I was reading for a past few days about the topic and came up with an idea of how to build one. What I'm asking you if you can tell me if I'm on the right track or I'm completely missing the point of it all. Here is the idea: Basically what I'm trying to do is this: Build a client application that connects to web service (asp.net web service) and …

Member Avatar
+0 forum 0

I have found a tv programme I have searched for for years is available via phantom p2p.com. Is this legal? Any comments welcomed please.

Member Avatar
Member Avatar
+0 forum 4

Hi there people, I'm looking to build a system that will be primarily used for what is effectively P2P filesharing, via FileZilla. Also I want to be able to share the items stored on it via a LAN. Build budget of as cheap as chips.( and don't mind using older components.) I have an old Intel® Pentium® Processor T3400 #[url]http://ark.intel.com/products/35583/Intel-Pentium-Processor-T3400-%281M-Cache-2_16-GHz-667-MHz-FSB%29-Socket-P#[/url] Can I use this and overclock? I have read that Laptop processors, having been designed with lower power usage and lower thermal outputs can overclock quite nicely. Or would it be better to use an older, single core CPU from …

Member Avatar
Member Avatar
+0 forum 2

Hello, I need to send messages to Android phones through P2P on 3G connection. Sending and receiving works perfectly on lan ip addresses(on wi-fi) but not on 3g or 2g. On 3g I send a message but it never appears on the other end of the line. Can anyone tell me how to make a connection ? What port to use ? Thanks, DataSmith

Member Avatar
Member Avatar
+0 forum 2

Hello, Network Programming classes have begun for us in the college and I too have been giving it a lot of reading for the past one month. Now, when I have understood the OSI and other reference models including how various protocols like FTTP, HTTP, POP3, P2P etc works; I would like to apply my theoretical knowledge into practise. So to accomplish the above task, I have chosen P2P protocol and I want to implement a bittorent-client (dummy) like utorrent. By the way, I'm skilled in C/C++/Java/C#. Could anyone please guide me how shall I begin on this project and …

Member Avatar
+0 forum 0

Hi.. i'm using a winsock control to transfer files between two computers which are in the same network..(LAN) and it works fine. Is there a way to transfer a file to another computer that it is not in my network? For example from my computer to a friend's computer.. Any help would be appreciated.. Thanks

Member Avatar
Member Avatar
+0 forum 7

There has certainly been a lot FUD being spread around lately by the likes of [URL="http://www.comcast.com"]Comcast[/URL] about how [URL="http://en.wikipedia.org/wiki/Peer-to-peer"]P2P[/URL] networks are filling up the Internet pipes. Just a couple of weeks ago, fellow Daniweb blogger, Davey Winder wrote (with tongue firmly in cheek), [URL="http://www.daniweb.com/blogs/entry2378.html"]The Internet is Full, please get off[/URL], for his InsideEdge blog. I asked Steve Rosenbaum, CEO of [URL="http://www.magnify.net"]Magnify.net[/URL], if he believed the internet was running out of capacity in an interview on Friday and his reaction was, “That’s just silly.” I’ve always felt if the internet were truly filling up, why not just build more capacity. Seems …

Member Avatar
Member Avatar
+0 forum 5

[ATTACH=right]12439[/ATTACH] Leslie Stahl had a piece Sunday night on 60 minutes on the supposed impact of piracy on the movie industry. (You can watch it [URL="http://www.cbsnews.com/stories/2009/10/30/60minutes/main5464994_page2.shtml?tag=contentMain;contentBody"]here[/URL].) Her piece was so slanted toward the Motion Picture Association of America, it was almost laughable (if it weren't so maddening). At one point, Stahl explained P2P networking using Bit Torrent in a way that made it sound like it was used exclusively for movie pirates and that it was the brand new gee-wizz technology--neither of which is true. In fact, many mainstream media companies are using P2P technology to deliver their content, and …

Member Avatar
Member Avatar
+1 forum 3

When singer Lily Allen posted a passionate plea for people to stop illegally sharing music files, and started a dedicated blog where fellow pop stars could voice their concerns over the 'theft' of their work, you might have been forgiven for thinking it would just turn into the usual bunch of rich kids moaning about how unfair it was that they couldn't buy a second Ferrari this year. However, it quickly got much more interesting than that, thanks to a large dose of double standards on the part of Allen herself. The trouble with setting yourself up as some kind …

Member Avatar
+1 forum 0

It might seem like something of an odd question, unless your idea of a good night in is a box of popcorn and a copy of some dodgy DVD featuring a Captain Jack lookalike doing unmentionable things to his crew. Yet the answer is that these two things, the illegal file-sharing we commonly refer to as piracy and the porn business, have loads more in common than you might imagine. For starters, both are hugely popular online. Pornography has traditionally been something of a driver of e-commerce innovation. After all, most pornographers are in the business for profit rather than …

Member Avatar
Member Avatar
+0 forum 1

Following the introduction of the Intellectual Property Rights Enforcement Directive, better known as IPRED, which became law on Wednesday last week, the amount of Internet traffic has plummeted by as much as 40 percent according to the Netnod Internet Exchange which measures such things. Sweden has perhaps been best known, until now, for ABBA, Greta Garbo, tennis players who sell underwear and that chef on The Muppet Show. Bork Bork Bork. That, and being host to the Pirate Bay which is the largest and certainly the most notorious BitTorrent tracker on the face of the planet. Described by the [URL="http://www.latimes.com/entertainment/news/la-ca-webscout29apr29,0,1261622.story?coll=la-home-entertainment"]Los …

Member Avatar
+0 forum 0

According to [URL="http://www.msnbc.msn.com/id/29447088/"]reports,[/URL] the security relating to the official Presidential helicopter, Marine One, has been breached. It would appear that engineering and comms data, amounting to a complete avionics package including blueprints, about Obama's helicopter turned up on the computer of defence contractor who also had a P2P file sharing application on the same computer. A copy of the blueprints, inadvertently made available for sharing if the reports are accurate, also turned up on a computer based in Tehran, Iran. The good news is that the US military know exactly where the file originated and where it ended up. The …

Member Avatar
Member Avatar
+0 forum 1

It was always going to generate plenty of publicity simply because it was the new Michael Moore documentary movie. It was always going to generate even more publicity because Moore decided to release it for free, on the Internet. The first time, as far as I am aware, that a real major feature-length 'blockbuster' movie has gone straight to Net, as it were. However, Michael Moore probably wasn't expecting to get the additional publicity from the release online today that Slacker Uprising will bring. That comes as a result of what appears to be a simple slip up, a mis-understanding …

Member Avatar
+0 forum 0

On a Friday afternoon before a holiday weekend, Comcast released its latest volley against its customer base, announcing a 250 GB monthly download limit. According to reports, after the first violation, you will get a message from your friends at Comcast warning you about your dastardly behavior (aka using the service you are paying for) and any subsequent violation of the limit would result in suspension of service for a year (or the less publicized punishment where you get sent to Dean Wormer and put on double-secret probation). This is a thinly-veiled continuation of Comcast's attack on P2P traffic. Earlier …

Member Avatar
Member Avatar
+0 forum 2

Call it a kind of bigotry for the new millennium. The packets of peer-to-peer applications such as BitTorrent have become the target of throttling—even complete blockage—by Internet service providers on their networks. Do they have the right? The revelation comes from [URL=http://broadband.mpi-sws.mpg.de/transparency/results/]study results [/URL] published yesterday by Germany’s [URL=http://www.mpi-sws.org/]Max Plunk Institute of Software Systems[/URL] computer research group, which identified 13 ISPs engaged in the practices, including Comcast, Cox and seven others in the U.S. In response, Comcast said it monitors peek traffic times and slows peer-to-peer packets to give other services access. Data in the study contradicts that claim, showing …

Member Avatar
Member Avatar
+0 forum 4

A federal court today ruled in favor of people using file-sharing applications such as Napster and Kazaa, notorious for illegal distribution of music files. The ruling was a blow to the [URL= http://www.riaa.org/]Recording Industry Association of America[/URL], which has been combating users and developers of this software because of its potential to illegally distribute copyrighted material. In essence, the ruling states that merely making music files available for sharing does not constitute copyright infringement. The case, Atlantic v. Howell, centers on Jeffrey and Pamela Howell, a husband and wife that had Kazaa installed on their system. Mr. Howell asserted that …

Member Avatar
Member Avatar
+0 forum 4

A proposal from the [URL="http://www.premier-ministre.gouv.fr/en/"]French Ministry of Culture[/URL] could hit online music and movie piracy very hard with a very big stick if it goes ahead. In addition to the existing law, introduced only last year, which made unauthorised file-sharing a criminal offence carrying a 30,000 Euro fine and up to six months in prison, the new proposals seek to kick pirates off the Internet altogether. Along with other measures such as the watermarking of digital content, the Ministry of Culture plans include the controversial concepts of monitoring and tracking the movement of those watermarked files and the people who …

Member Avatar
Member Avatar
+0 forum 1

Bram Cohen, the creator of bittorrent.com has signed a deal with the Movie Industry, that is hoped will reduce the number of pirated films, shared on the Internet, via the website. The deal means that BitTorrent must remove any links to pirated films. The deal between the Motion Picture Association of America (MPAA) and BitTorrent is the latest in a line of moves to limit the illegal sharing of films via the Internet. Mr Cohen has raised $8.75m to turn the BitTorrent Inc into a commercial download service, similar to Napster, who made a likewise transition. "We are glad that …

Member Avatar
Member Avatar
+0 forum 2

The End.