PEER TOO PEER WITHOUT SERVERS

I was intrested in making a peer too peer program that would act as client and server. I already have a server program and a client program, but the problem with this is that the client must know the servers ip adress. So I would like a program that I run, and somebody else runs anywhere else on the world so that the program could detect the other persons ip on the net, is there any way to achieve this by every host acting as a server and a client together and scanning a range of ips, could that be possible.

Imagine that you want to telephone your friend, but you don't know what her telephone number is. What do you do?
1. Start dialing numbers at random until she answers.
2. Find a telephone directory and look up her number.
3. Contact her some other way and ask her what her number is.
Choose the ones that make sense, then translate them into your problem space.

Similar Messages

  • Cannot open connection in a peer-to-peer netword

    I created a peer-to-peer network between two PDAs loaded with Windows Mobile 5.0. It is shown that both of them were connected, and their IPs were assigned automatically. 
    But when I used TCP/IP Open function, it returns an error 10060 'Cannot open connection'. DO I miss something here? It should be a simple connection.  
    Solved!
    Go to Solution.

    The error you are receiving is become the timeout on the connection has been exceeded.  If your time out is too short (or non-existant) you can get this error without proper time to establish a connection.  Check out these two articles for more information regarding how to establish a TCP/IP connection with your PDA.
    http://digital.ni.com/public.nsf/allkb/7A02D810EE88A23F86256EEB005B6283?OpenDocument
    http://digital.ni.com/public.nsf/websearch/7D98C202FEC3F39086256D1E007A7609?OpenDocument
    Let me know if you have any questions.
    National Instruments
    Applications Engineer

  • Peer to peer WIFI

    I have a windows (XP) computer and a MAC G5 both equiped with working WIF cards. Can I use peer to peer between these comuters without the need for some sort of WIFI router? If so, how do I seet it up?

    Tried many different combinations of the WIFI card settings on the ThinkPad, but no joy. It's as though the iPhone 4 is too noisy on the network and causes the other devices to fail to comunticate on the network.
    When a 3GS is connected on its own (or with other 3GSs), I can ping it. But as soon as I connect an iPhone 4, I can no longer ping the 3GS. What is happening?
    The actual card in the ThinkPad is an Intel WiFi Link 5100 AGN.

  • Windows 7 Home Premium Peer-to-peer network over a switch

    Sorry for asking such a basic question here. I am trying to setup a small office network. There are 5 computers all running Windows 7 Home Premium. Using a switch I want to connect all 5 together. I have a software package running on PC1, which will contain
    a database. The other four computers, (PC2, PC3, PC4, PC5), will have a client running on them that will be able to access the database on PC1. I also have two printers and a router for internet access.
    I have pulled the cables, managed to cap them correctly (tested them with a cable tester), and have connected the PC's to the switch via the cables.
    I have looked on the internet for how connect the PC's together but I am getting confused, between all the videos and websites mixing XP with Windows 7 and Vista and wireless to cross-over and and and.....
    Could someone please let me know what I need to do next?

    Hi,
    In a peer-to-peer setup, every computer are both client and server. each computer communicates directly with others in the network. It's much more common in the home.
    You need have a router (possibly with wireless capability) and the necessary Ethernet cords to run the router to the modem and from the router to all of your computers.
    Then add them in the same workgroup or HomeGroup.
    Here is a detailed guide, please follow that step by step:
    Peer-To-Peer Network Setup
    http://www.functionx.com/networking/Lesson04.htm
    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Karen Hu
    TechNet Community Support

  • Peer to Peer network error 0x80070035 the network path was not found

    We are adding an XP computer to a peer to peer network with Vista machines.  The Vista machines can see the XP machine in the network but when clicking to get to share files, message comes up Windows cannot access \\XPcomputer.   The message adds that there may be a spelling error or that there may be a problem with the network.  But the error message is the one listed in the subject of this email.
    XP machine is properly set to share folders and there is no other visible proble.  There is no message from the antivirus software so I am assuming the address is within the Antivirus acceptable range.  Antivirus is Norton 360.
    Any suggestions...very frustrating... thank you

    Hi,
    Before we start, please access the following article. This KB article introduces our support policies for peer-to-peer network
    Using Crossover Cables in Home or Peer-to-Peer Networks
    http://support.microsoft.com/default.aspx?scid=KB;EN-US;278870
    The error code 0x80070035 indicates that the network path is not found. This behavior occurs if the NetBIOS over TCP IP is not enabled in Windows Vista. Please follow the steps below.
    1. Click "Start", input "NCPA.CPL" (without quotation marks) and press Enter.
    2. Right click on the connection that you use for the local connection, and then click "Properties".
    3. Click Continue button to verify the administrator permission.
    4. Click to select "Internet Protocol Version 4 (TCP/IPv4)", and then click "Properties".
    5. Click "Advanced" button in the open window. On the "WINS" tab, click to select "Enable NetBIOS over TCP/IP", and then click "OK" to save the setting.
    The following article introduces NetBIOS over TCP/IP
    NetBIOS over TCP/IP
    http://technet.microsoft.com/en-us/library/bb727013.aspx
    If the issue is not resolved, you may try to access the computer with \\[IP address] as a work around.

  • How to create a program that enable peer-to-peer connection

    I'm currently doing a college project which is a instant messenging system. The system will have the client-server network and peer-to-peer network. The client-server network part has been finished but i still facing the problem to write the code to enable two pc communicate with each other by using a server that use in the client-server part .
    I very hope someone can help me.
    thank you!

    Hi,
    I think that i can help u in this respect.
    Let me see what you are suggesting.
    You have two or more servers which need to be aware of on another.
    you have clients which can be connecting on any of the servers.
    you need these clients to be aware of each other.
    well....to do this you need to take a lot of factors into account.
    1. you can use a central server and redirect accordingly.
    2. use distributed servers.
    this is the more difficult part as you need to keep track of the server timezone.
    you need to keep track of the up and downtime of your servers.
    when servers are up or down you need to distribute clients accordingly.
    The second approach is more robust and known better as load balancing.
    Regards,
    myraid

  • Server or Peer to Peer?

    I am running a small business and am going to be switching to Mac from PCs running on a network.
    We only will have 3 computers that will share an accounting file and share printers.  Is it a waste to get a dedicated server vs. just peer to peer networking the Imacs together?

    You probably do not need a server for just 3 machines. However without any real information what I'd STRONGLY recommend you do is visit your local Apple Store and request to speak to their Business Specialist. They can help you tailor a complete solution that will fit your needs.

  • Can we disable/avoid peer to peer traffic?

    We have dozens of offices which all connect to Lync 2013 in a central datacenter via edge.
    Most offices have two ISPs - a cheap high-bandwidth option (typically cable modem) and a pricier, low-latency EoC or bonded T1 connection.  We use static routes to ensure that traffic bound for the Lync edge and reverse proxy interfaces goes over the
    low-latency line.  The default route is the cheaper line so all web/email/etc traffic goes out over that.
    This works great except for peer-to-peer calls and video calls, which of course go out over the cheaper line and often experience quality degradation.
    Is there a way we can force these peer to peer calls to instead route through the edge and avoid this issue?  The extra load is less of a concern than the call quality issues.
    Thanks!

    Hi,
    Please note that: As a general rule, Quality of Service applies only to communication sessions on your internal network. When you implement QoS, you configure your servers and routers to support packet marking; however, you configure these devices to support
    packet marking in a particular manner. You cannot assume that Quality of Service will be supported on the Internet or on other networks. Even if Quality of Service is supported on other networks, there is no guarantee that QoS will be configured the same way
    that you configured the service on your network.
    More details about QoS in Lync Server 2013:
    https://technet.microsoft.com/en-us/library/gg405409.aspx?f=255&MSPPError=-2147217396
    Best Regards,
    Eason Huang
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Eason Huang
    TechNet Community Support

  • 1) which SVN for Access dev? 2) alternative for use on peer-to-peer network ?

    a - As I understand it typical SVN solutions require a server on your network... true?
    b - Which SVN solution should we consider for keeping up with Access development revisions, etc?
    c - Is there a solution that will work on a peer-to-peer network?
    d - Free alternatives and low coast alternatives are?
    thanks for any help.

    > As I understand it typical SVN solutions require a server on your network
    Sure, “typical” means “many”, so yes. However many others are file based and ONLY require a share folder and thus don't require a server. And then from that shared folder you can often use add-ons to sync that folder to web based systems like GitHub. So
    you can "mix" such file only systems and then over time use web based server with that system that does not require a server, but only a shared folder.
    >Which SVN solution should we consider for keeping up with Access development revisions, etc.?
    Actually, you can just simply “copy” the current version to some folder before you “release” that version. So copy and add a “version” number to the accDB file. If you application is MyInvoice.accDB, then copy to server with MyInvoice-1044.accDB (verison
    1044). Since Access is a “single” file, then this works rather well compared to other systems that have “many” files. In fact I copy both the accDB, and the compiled version accDE to a folder on the server (with version number added to the file name as per
    above). Thus you can go back to any previous version with great ease.
    However, you might be talking about source code control in addition to versioning of software. (often the term is interchanged, but it should not be). Source code control (SCC) is a “common” means to achieve versioning of software, but ALSO allows multiple
    developers to work on the project at the same time (collaboration). So there is a big difference between SVN, and SCC.
    Access for a VERY long time has supported Microsoft “standard” source code control interface. While Access is a “single” file, Access is able to “logically” view each application part as a separate file. So the fact of “one” file, or “many” files does not
    matter – say no more then a zip file is “one” file, but inside there are “many” files! So SCC is 100% possible in Access, and since Access has a resolution down to an object by object basis? Then developers can check-in/out individual forms, query
    code modules etc.
    Access versions all the way up to 2010 support the “standard” Source Code interface.
    So:
    Using GitHub you see this:
    Using VSS, you see this:
    Note that using Git, TFS, VSS etc, they ALL give the above UI with check boxes beside each object, and all give a cool "check in/check out" right click context menu not shown above.
    The above Git shot is running in "file mode" without a server. Visual Source Safe is also file based, but VERY old and quote hard to find now.
    So the great news is that Access has for a very long tie supported SCC, and thus is a great way to “version” your software. And Access will show you OBJECTS that are checked in/out by you as per above with the check mark and lock icon.
    So inside of the access GUI you could with any SCC system that supports the standard SCC interface would know what objects are locked and you not taken ownership of. (note the "lock" and "check mark" icon beside each object.
    However, Access 2013 dropped support for SCC. So all of the above cool options are NOT available for 2013.
    Since Access is a “single” container, then versioning tends to be rather easy. Just copy the file to a folder with a version number appended to the file name, and you are done!
    You not distinguished between versioning of your software, and that of source code control – so it not clear if you looking to just keep versions of your software, or allow team development on your application?
    While SCC will give you versioning, it also allow multiple developers to work on the same application at the same time (collaboration). SVN does not necessary give you this multiple developer ability.
    As noted, versioning for Access is easy - just copy the accDB (front end) to a folder on the server with a version number appended to the file name. Works quite well. I have a table in the front end with a version number, and a version number in the back
    end table. My deployment code reads that version number and copies the files to the server for me.
    (It is assumed that you have a split database).
    However, if for 2013 you need both versioning and SCC (say to allow multiple developers), then you likely have to roll your own. I would suggest using “save-as text” command to export all access objects to a folder, and THEN use one of MANY source code control
    systems that operate on that folder. Such a setup could easily be cobbled together in an afternoon of your time. And “many” SCC systems provide a GUI that is external to the developer tools/environment. This would allow you to use free tools like Git and GitHub.
    For just versioning of your software? Then SCC is likely overkill, and if you using Access 2013, then you cannot use standard SCC providers anymore anyway.
    Albert D. Kallal (Access MVP)
    Edmonton, Alberta Canada

  • WRV54 to Cisco 1811W Peer to Peer Tunnel

    I am attempting to set up a VPN, peer to peer, tunnel between a LinkSys WRV54G and a Cisco 1811W.
    The WRV54G seems to be pretty straight forward, and logiclly looks like what I have in there should work.
    The problem comes when I attempt to set up the VPN Tunnel on the Cisco 1811W using SDM.
    It seems to me that using SDM you have too many choices, and you are pretty limited in going back to edit or tweak what you set up.
    Is this a pretty standard type of thing to want to be able to do ? Does anyone have a procedure that will set up a minimal VPN peering arrangement between LinkSys and Cisco products ?
    A good cheat sheet would be useful
    jayr
    JayR
    Jay Clark

    We you be able to post the output of the show crypto ipsec sa command for the remote site as well?  If those two outputs are mirror images of eachother and don't point to a possible issue, then it would help to see the running config of both ASAs.
    Please remember to select a correct answer and rate helpful posts

  • HT4528 Has anyone figured out peer-to-peer airplay?

    I have updated my operating system on my iPhone, my iPad and I have a third generation Apple TV. Peer-to-peer airplay is not working without Wi-Fi as I thought it would. Is anyone figure this out?

    Hi collinbrooksie,
    Welcome to the Apple Support Communities!
    To use AirPlay with your Apple TV and iOS device, they must be on the same Wi-Fi network. Please reference the attached article for more information.
    Use AirPlay to wirelessly stream content from your iPhone, iPad, or iPod touch
    Have a great day,
    Joe

  • Spa3102 in peer to peer mode

    Is there a way to connect 2 spa3102 together via a sip trunk in peer-to-peer mode without a proxy?

    michalism wrote:
    Is there a way to connect 2 spa3102 together via a sip trunk in peer-to-peer mode without a proxy?
    Yes, you use direct ip addressing. You need to Enable IP Dialing, set Make and ans call without Reg to yes. If the two spa's are on different networks you will need to forward the sip port to the adapter on the router.
    You can use speed dialing, or you can setup a special dial plan.
    For speed dialing you would have
    [email protected]:5060
    where userid is any userid you have on the distant spa, 192.168.1.100 is the ip address, and 5060 is the sip port number. Actually 5060 is the default sip port number so if that is what you are using you don't need to include it. If it is something other than 5060 you need to include it.
    For a dial plan there probably are different ways to do it. The following would dial the distant spa by dialing 123:
    (<123S0<:[email protected]:5060> )

  • Chess game that is peer to peer for Mac?

    Hello all. Anyone know of a chess game that can be played over the internet that is peer to peer? I know there are many chess games that can be played over the internet, but we would just like to launch a chess game and play each other without having to go to a third party server.
    Thanks,
    Apple //GS

    Big Bang Chess, part of Freeverse's Big Bang Board Games allows you to enter in the IP address of some with whom you wish to play, so that looks like it would do what you want, though I've not tried it.

  • Peer to peer connection

    Hi
    i am new to LCCS and want to build a basic collabration tool having a camera, whiteboard and audio. I have gone through some examples where by the use of mxml tags i am able to create sample collaboration application. Let me know whether the video and the audio sent is a peer to peer connection or its going through hub. If not please give me some idea where to start by using the sdk for establishing a peer to peer connection for creating a collabration application.
    Thanks.
    Vijay.

    Hi Vijay,
    If you are using player 10 swc or higher, then your connection is automatically p2p unless one of the user is having a player version less than 10, a non-rtmfp connection or is behind a firewall. If you are using player 10 swc, we have a limit of 3 streams that can be sent over p2p. If the number  of streams exceed more, then everyone would be seamlessly switched to hub-spoke from p2p. You can also use some events and properties to determine whats the current connection or when the change from p2p to hub-spoke or vice versa happens.
    An example that shows this in details is PeerToPeerRtmfp in sampleApps folder. Take a deep look at the example as well as run that.
    You can also increase the limit to more than 3 by changing maxP2PStreamPublish in StreamManager. However, this may not be practically feasible due to bandwidth or other restrictions to have too many streams with p2p. Also you should look at the documentations of StreamManager, AudioPublisher/Subscriber and WebcamPublisher/Subscriber for better understandings of properties and events.
    In case you are using player 10.1 swc, you can use p2p with multicast. However, player 10.1 is still kind of beta with no source files available. So, unless you have multicast requirements, player 10 swc is a better option for debugging.
    Hope this helps
    Thanks
    Hironmay Basu

  • My NBAR peer-to-peer config

    I built a config to rate shape P2P traffic on my network to 30k/s. I thought it would be useful for people who are looking to limit peer-peer traffic inside their company. If you have any additions or other ideas, let me know.
    This is on a Cisco 1751 with IOS 12.3(4)T6. Later versions of 12.3 has newer PDLMs so you don't have to download them.
    You will need to apply it to a interface by using the "service-policy output" command, also you need to have "ip nbar protocol-discovery" turned on the interface to get statistics.
    ip nbar custom bittorrent tcp range 6881 6889
    class-map match-any Peer2Peer
    description QoS class map for Peer 2 Peer applications
    match protocol gnutella
    match protocol fasttrack
    match protocol kazaa2
    match protocol napster
    match protocol bittorrent
    policy-map Peer2PeerPolicy
    description Throttle P2P applications
    class Peer2Peer
    shape peak 384000

    Hi,
    How do i apply this class-map to an interface?
    If i have a few servers on the same vlan, can i apply it to the vlan instead of the individual switch ports?
    Best Regards and thanks for any feedback.
    Ezequiel

Maybe you are looking for