Questions about networking a desktop app

So the background first: I'm working on a hobby program, and wanted to try my hand at networking it. It's a desktop app (a simple game) that two or more users can play at the same time. There's no centralized server to connect to, it will be an ad hoc connection. One user hosts a game (starts a server) and then others join the game (start their clients). I've done a lot of research, but still have some unanswered questions. I plan on using ssl encrypted socket connections. I used this tutorial to learn about trust managers and such.
My questions are:
1) What's the best way to give the users the info they need to connect to each other? I haven't looked into it yet, but I'm assuming it's not to hard to display the server's ip address, which they can give to the clients to connect to the server. PC games used to do this years ago before companies began hosting matchmaking services. Is there more required than that?
2) What's the best way to pick a port number that all user's have access to? I know I need to pick a port that isn't registered by another app, and that the port number will need to be given to the clients along with the server's ip. If the server is able to open that port, is there a situation where clients wouldn't be able to access that port?
3) Since this is basically a toy, I don't want to to the trouble of something like Verisign for security. Will a self-signed certificate authority be adequate? My concerns are not opening user's computers to attack, and protecting the data in transit. I know ssl will protect the data, but I'm not knowledgable with security to be sure if a shared trust manager will be enough to only let the app access the connection. What are the risks of someone bypassing the security and gaining access to our systems?
I've never written an application that had to deal with network security, so please pardon my paranoia, and thanks very much for any help.

If you are getting the week or intermittent wireless connection then,try the following settings on the router...Under the Wireless tab,Change the Channel Width to 20MHz and Channel to 11..Provide unique SSID.Under the Advanced Wireless Settings..Change the Beacon Interval to 50,Change the Fragmentation Threshold to 2304,Change the RTS Threshold to 2304 and Click on Save Settings...Power Cycle the network and check the connection.
WPA2 is very secured Secured type,so it is advisable to use it.However,it is not necessary to use WPA2.
If you are using "N"Router then,to get the full advantage of N Speed,you should "N" Adapter.
If you want to set the static DNS on the computer or any other wireless device then,you can set any DNS numbers.
To repeat the wireless signal of the N Router,I would suggest you to go for an Access Point like WAP610N.

Similar Messages

  • I see lots of people asking questions about the "white screen" app store update failure. I see no answers from Apple about this...What is the problem, and what is the solution?

    I see lots of people asking questions about the "white screen" app store update failure. I see no answers from Apple about this...What is the problem, and what is the solution?

    It's a problem that Apple is having with their App updating system.  The best solution is to be patient, and wait for Apple to solve their systemic problem.

  • Basic questions about Network Licence

    Hi,
    Before buying, I have some basics questions about the network licence of Acrobat
    As an example, if I buy 5 network licence for 20 users.
    If the 5 licence are used or if one user is outside and can't access the licence serveur, is there still some basic features available? I mean, is there a "acrobat reader" part that still allow users to read pdf?
    In the same kind of problem, if 10 users are using Acrobat just for reading pdf file and that a user now want to use acrobat to create a pdf, is there still available licence  or the 5 firsts that are just reading have take the 5 licences available?
    Thank you for your answers

    This is a user to user forum, with the space provided by Adobe
    This is not official Adobe support... I think you need to contact Adobe

  • Question about java-based server app frameworks

    Hello, I am working on a Java applet application and would like to choose a Java-based scalable server framework to use within my applcation. I have found a few like xsocket or QuickServer and have a question about other. And, also, which is the one You may advise? Yours sincerely, Slawek

    For online gaming server. I first heard of xsocket and started using this, but have the problem with NAT. I now know that I need to initiate connections from client behind NAT (server has a public IP) and send messages from server to client within the same connection. I am doing this the following way (as shown in examples- below), but it appears that server receives messages, but client doesnt. I dont listen on any ports in client application and just need to take advantage of the connection initiated (information go from client to server properly).
    Server-
    try{ nbc = pool.getNonBlockingConnection(inetAddress, 8090);
    try{ nbc.write("|01|______|02|______|03|______|04|______|05|______|06|______|07|______|08|______|09|______|10|______"); }catch(Exception ee){}
    }catch(java.io.IOException f){}
    Client-
    public boolean onData(INonBlockingConnection nbc) throws IOException,ClosedChannelException,BufferUnderflowException,MaxReadSizeExceededException{
    String x = nbc.readStringByLength(100);
    System.out.println("S >> C = "+x);

  • Question about Network In/Out in the Monitor of the Cloud Service

    Hi there
    My question is that what kind of data is the monitor monitoring? The monitor is in the cloud service.
    And what are network in/out  in the monitor stand for? The network in/out are in the monitor.
    The monitor had monitored a huge amount of data in my cloud, but I have no ides what are they.
    Thanks a lot!

    hi Tianchi,
    Thanks for your posting!
    >>what kind of data is the monitor monitoring? The monitor is in the cloud service
    From the concepts side, By default, minimal monitoring is provided for a new cloud service using performance counters gathered from the host operating system for the roles instances (virtual machines). The minimal metrics are limited to
    CPU Percentage, Data In, Data Out, Disk Read Throughput, and Disk Write Throughput.
    If you want to monitor other metrics, you could use the azure Diagnostic to custom
    performance counter in your cloud service or set
    Verbose setting on the azure portal. For this issue, I suggest you could refer to the concepts part of this page (http://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-monitor/
    >>And what are network in/out  in the monitor stand for? The network in/out are in the monitor.
    Base on my understanding, Network in/out include the
    performance counter "Bytes receive" and "Bytes send". Maybe it seems that your data size of network in/out is huge amount. But only your outbound data
    can be charged. Of course, if you have some doubt about data or data billing, you could contact Azure Billing support for more details.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Question about push notifications for apps affect on battery life?

    I've noticed that after installing certain "Push Notification Enabled" apps that my iPhone's battery drains very quickly even when said apps aren't running. I've read that if an app makes extensive use of push notifications that it can drain the battery, but I haven't received any notifications from said apps. Does simply having a number of push enabled apps installed drain the battery cause faster than normal battery drain?
    I don't really care about the push notifications for many push enabled apps, but I do like to have it enabled for certain ones. Would disabling notifications for all but the apps I use actually save battery life? I would think that since push messages are sent from the app owners server to Apple's push servers to the phone, that disabling notifications on the phone for an app or even deleting the app itself would not prevent the actual data from being pushed to the phone. In other words does disabling notifications (or deleting the app) actually prevent the data from being pushed to the iPhone or does it simply tell the iPhone to ignore the pushed data? The former would not increase battery life while the later would.

    I've learned that it's not the number of apps that use push notification that drains the battery, but the number of apps that actively use it to send messages.
    If push is turned on, the battery will drain slightly faster since the phone needs to maintain a constant 3G (or GSM) connection open, but no data is actually sent or received unless you receive a push notification.
    In the case of push email, a push notification triggers the mail app to make an outbound IMAP4 connection. Depending on how often you receive email, this can decrease the battery life. If you receive lots of emails every few minutes, using 15 minute fetch will be more battery efficient. If you receive emails every few hours, push is more efficient.
    For apps, it doesn't really matter since the apps can't initiate a network connection unless they are running. I'm not sure if app servers constantly sending push notifications when the notification for those apps is turned off drains the battery any faster or not. From what I've read when push notification are turned off for an app, Apple's push servers will tell that app's servers to not perform a push. In other words, Apple won't push app notifications to the phone for apps where notifications are disabled or the app isn't installed.

  • General questions about network setup

    Hi everybody,
    I am in the process of migrating the network of our small nonprofit-organization from windows to linux. I searched for a while and had a look at several distros but it seems that arch is what we need ;-) Some months ago I migrated my own laptop and desktop at home to arch and learned a lot about KISS since then. But now I need some hints that point me in the right direction. The net consists of a router (running fli4l for firewalling, ntp, dhcp and dns-server), a main Server (SuSE 9.1 samba domain controller by now) and a backup server (arch). There are some workstations running Win2000 or XP and two arch systems with a KDE-desktop.
    How can I manage single sign on for all these machines? NIS seems to be insecure, LDAP very complicated. Any other options? Maybe someone with a working configuration as an example? The setup should take care about the possibilty of one server going down and the backup server then taking all services over.
    On each windows machine I needed antivirus and desktop firewall software. Any need for this on linux machines? I am a bit concerned about degrading performance since all workstations are 1GHhz Durons which is not so much these days...
    By now the main task for all workstations is doing some text processing and spreadsheet work. The servers do the file sharing using samba. In the future I want to set up an internal email server, maybe some kind of networked PIM-Software for all users. What would you use for this purposes?
    Are there any other things I have to keep in mind while setting up a small network like this?
    Thanks for your help.
    Harvey
    BTW, English is not my native language so don't shoot me if I put something wrong ;-)

    TB2 wrote:If the main tasks are text processing and spreadsheet work, then why are there any Windows machines?
    Because this environment has grown over years and is now moving towards Linux. And there is some special software that only exists as windows software (medical databases) which I was not able to run in Wine. Virtualbox is a good hint, though I am using vmware in the moment for my own boxes. So vmware-player would do as well, I guess. 
    Then you will also be able to drop samba...
    Mmmh, I'm a bit concerned about that. I suppose you suggest using NFS/NIS? Isn't that believed to be insecure?
    and there's loads of IPM programs for Linux
    Well, not so much if you are looking for a networked one which archlinux supports. Evolution looks nice though I'd personally prefer Kolab, but for groupware features it needs a server which I wasn't able to find in the repositories. And making packages is not one of my skills...
    switch from KDE to a more ressource-friendly DE, like Xfce, Window Maker or Fluxbox.
    Tried XFCE, which looks nice, but I need a login manager for my users. Had a look at slim, but was not able to configure it right. The wiki seems to be outdated here. It runs on boot, but never lets me login. I come back to the login screen in an infinite loop. Still looking for a solution here.
    In general I think it's better if all machines run the same setup. Mixing Win2000, XP and Linux machines can be done, but I think it's not recommended
    This is what I am thinking too. And I want to migrate, but in the moment there are some caveats I have to deal with.
    Harvey
    Last edited by Harey (2008-01-29 12:39:25)

  • Question about Distribution Application to App Store

    hi all,
       hope can help me for Distribution ipad application to app store use application loader.
      here is Err message:
         Application failed codesign verification. The signature was invalid, or it was not signed with an iPhone Distribution Certificate.
        bellow is bulid Info:
    ProcessProductPackaging "/Users/liujxyxhama/Library/MobileDevice/Provisioning Profiles/08D746A0-F92E-4007-8C5A-C65F35EBD77E.mobileprovision" /Users/liujxyxhama/Library/Developer/Xcode/DerivedData/iCaidan-adevzckbhrtwnjgb ngqlwhroxshi/Build/Products/Debug-iphoneos/iCaidan.app/embedded.mobileprovision
        cd "/Users/liujxyxhama/Desktop/iCaidan ios5/iCaidan"
        setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
        builtin-productPackagingUtility "/Users/liujxyxhama/Library/MobileDevice/Provisioning Profiles/08D746A0-F92E-4007-8C5A-C65F35EBD77E.mobileprovision" -o /Users/liujxyxhama/Library/Developer/Xcode/DerivedData/iCaidan-adevzckbhrtwnjgb ngqlwhroxshi/Build/Products/Debug-iphoneos/iCaidan.app/embedded.mobileprovision
    CodeSign /Users/liujxyxhama/Library/Developer/Xcode/DerivedData/iCaidan-adevzckbhrtwnjgb ngqlwhroxshi/Build/Products/Debug-iphoneos/iCaidan.app
        cd "/Users/liujxyxhama/Desktop/iCaidan ios5/iCaidan"
        setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
        setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
        /usr/bin/codesign --force --sign "iPhone Distribution: Yin Hai Bo" --resource-rules=/Users/liujxyxhama/Library/Developer/Xcode/DerivedData/iCaidan -adevzckbhrtwnjgbngqlwhroxshi/Build/Products/Debug-iphoneos/iCaidan.app/Resource Rules.plist --entitlements /Users/liujxyxhama/Library/Developer/Xcode/DerivedData/iCaidan-adevzckbhrtwnjgb ngqlwhroxshi/Build/Intermediates/iCaidan.build/Debug-iphoneos/iCaidan.build/iCai dan.xcent /Users/liujxyxhama/Library/Developer/Xcode/DerivedData/iCaidan-adevzckbhrtwnjgb ngqlwhroxshi/Build/Products/Debug-iphoneos/iCaidan.app
    CodeSign Info:
    uminami-inmatoMacBook-Pro:~ umihain$ codesign -dvvv icaidan.app
    icaidan.app: cannot find code object on disk
    uminami-inmatoMacBook-Pro:~ umihain$ codesign -dvvv /icaidan.app
    /icaidan.app: cannot find code object on disk
    uminami-inmatoMacBook-Pro:~ umihain$ codesign -dvvv /icaidan.app
    Executable=/icaidan.app/iCaidan
    Identifier=com.XXX.XXX
    Format=bundle with Mach-O thin (armv7)
    CodeDirectory v=20100 size=6108 flags=0x0(none) hashes=297+5 location=embedded
    CDHash=036f32c0283ad479d4d4639132c83a983ef947dc
    Signature size=4273
    Authority=iPhone Distribution: XXX
    Authority=Apple Worldwide Developer Relations Certification Authority
    Authority=Apple Root CA
    Signed Time=2012-1-19 下午06:10:05
    Info.plist entries=30
    Sealed Resources rules=3 files=200
    Internal requirements count=1 size=144
    uminami-inmatoMacBook-Pro:
    the question is trouble me for some days. and hope can help me soon .
    thanks .

    Follow the walk-thru and links in TN 2250 (recently updated) and TN 2294 Code Validation and Submission Issues for iOS (recently added).

  • Question about Dreamweaver Native Mobile Apps with PhoneGap

    I am trying to determine the best way to build an app for my business.  It doesn't need to be anything fancy, but needs a clean UI that is easy to navigate and interfaces with an online database.  The PhoneGap intergration with Dreamweaver 5.5 seems really intriguing, but before I spend the $650 to upgrade my creative suite, I had some questions.
    Doing some research, I have found multiple references to apps created in this way running slowly.  Noticable lapses on button pushes, pages loading slowly, etc.  Is this an issue and if it is, is there any way to get around it? 
    Idealy, I would deploy my app to both Android and iOS devices, how smoothly does that run?  I have some basic knowledge of both Java and Objective-C, but using dreamweaver seems to be quite a timesaver.
    If anyone has any input or comments about using Dreamweaver to create native mobile apps I would love to get some feedback.  Thanks!

    PhoneGap builds mobile apps with HTML, CSS, and JavaScript. You cannot use a server-side language, such as PHP, with PhoneGap.
    Presumably, you want to connect with a MySQL database on a remote server. To do so, you would need to use Ajax to send and receive data from the MySQL database. You can use jQuery to send and receive data as JSON. PHP has JSON functions that decode and encode data as JSON strings.
    How difficult or easy you would find setting this up depends on your knowledge of jQuery and PHP. I don't know of any tutorials that show how to pull everything together for PhoneGap, but it shouldn't be too difficult to find tutorials for using jQuery Ajax to communicate with MySQL.

  • Question about 10.8.4 App description..

    I got this Message from Microsoft and i dont understand what i should do.
    "We encourage you to address these issues in a future update to your app.  Please see below for detailed report of issues:
    10.8.4
    The app description does not include information about the types of in-app purchases offered and the range of prices.
    PLEASE DO NOT REPLY TO THIS MESSAGE. For further assistance, please visit
    Windows Phone Development Forum."
    Should i write in MY APP DESCRIPTION:
    Item XY -> Price Range X-Y USD ? But you have for every country a different currency.
    Can someone post an example for a description? I’ve searched in marketplace but noone has his inApp purchases in a desciprion.

    Hello Sokaj,
    You should not need to list prices for every supported market in your app description. However, if you submit a
    support ticket, we can review the app in question. Thanks for the post!
    -Jonathan
    Windows and Windows Phone Dev Center Support
    Office Store Developer Support
    Send us your feedback about the Windows Platform

  • SUPER SIMPLE DUMB Question about hard-wired desktop mac and wifi for iPhone

    Sorry if this has been already answered a million times. I have a desktop mac with a cable modem ethernet internet connection. I want to leave this hard-wired and setup a wifi network for a laptop or iPhone. What's the cheapest easiest way to do this?? I've never done anything wireless before.

    Could I just somehow split the feed from the the cable modem or ethernet cable and route part of it into an AirPort express??
    Unfortunately, no. This would create "confusion" for the modem as it is only expecting a single device to be connected to it. To be able to support both wired & wireless clients, you would need an Internet router with a built-in Ethernet switch, like the AirPort Extreme Base Station. If cost is an issue, you do NOT have to use an Apple router. There are a number of other vendors, like Belkin, D-Link, Linksys, & Netgear, to name a few, that offer similar models.

  • Question about networking iMac and streaming video to TV

    I have the 24" iMac 2.66GHz with 4 G ram. Currently using Motorola SBG900 (Docsis 2) cable modem & router to stream Comcast through house (another PC, iPhones, LG Blu Ray player/digital video streamer).
    Recently acquired a Netgear Rangemax 3700 which is supposed to be the fastest current wireless router. Here are my questions:
    1) Can I just use the Motorola SBG900 as modem ONLY and run the ethernet out of it to the Netgear router (thus bypassing the router built into the SBG900). Will this accelerate the streaming of video to other receivers?
    2) Would I be better off with a Motorola 6120 Docsis 3 Cable modem feeding the Netgear router (even though my Comcast cable feed is Docsis 2, not 3)?
    3) Since my Comcast account is rated 10 Mbps max (though it sometimes goes up to 15 or so late at night) and I believe the existing Motorola SBG90 is rated at 54 Mbps, is the limiting factor the speed of my Comcast connection and all else doesn't matter? That is, is it impossible to speed up my streaming or download speed without a faster connection to the Internet?
    4) What kinds of connections are there that are faster than Comcast cable connections?
    Basically, I don't want to waste money or time if I'm already at the maximum throughput available given my connection. If I can get marginal speed increases by adding new modem and router, that's fine. I'll do that.
    Thanks for your help.
    PS: I owned and returned the Airport Extreme Base Station. It did not increase the speed of my connection or streaming, but then it tested very poorly at www.smallnetbuilder.com -- about half the speed of the Netgear Rangemax.

    Can't help with Q 1 + 2, but here are some things to consider re:
    +3) Since my Comcast account is rated 10 Mbps max (though it sometimes goes up to 15 or so late at night) and I believe the existing Motorola SBG90 is rated at 54 Mbps, is the limiting factor the speed of my Comcast connection and all else doesn't matter? That is, is it impossible to speed up my streaming or download speed without a faster connection to the Internet?+
    My Comcast account is rated 15 Mbps and I never get that. I've done everything I can here including Cat 6 cables (instead of Cat 5), but the major problem/hangup in my case is: Comcast is using 20-year old buried cables from their hub (approx. 10 mi across town) to the neighborhoods here - those cables are "leftovers" from the company Comcast purchased the rights from. So, we not only have old cables, but the little boxes all over the neighborhood feed at least 6 - 10 homes each, so you are sharing the available bandwidth with the neighbors. And, whenever everyone seems to be online at the same time, my downloads slow down to a c r a w l (as slow or slower than dialup occasionally!).
    So, unless you have a better/newer cable setup where you are, you need to keep that in mind; in that case, no matter what you do, you are at the mercy of Comcast's equipment and your neighbors' usage.
    4) The only one I know of is FioS (fiber optic).

  • Question about networking

    So I've gotten placed into the role of UCS manager having only a basic understanding of upkeep (currently taking training).  I've noticed some things that I'm curious about but don't know where I should look for more information.
    For one.  We were orinigally using port channels to do networking when we had a 1g connection to the core from the FI, now that we're 10g my network team told me that we wouldn't do port channel anymore and what I've got currently setup is 3 connections marked network and 1 connection marked unified uplink 2 Network in FI B and 1 Unified Uplink and 1 network in FI A. 
    This seems very incorrect to me but I also can't seem to set the unified uplink port back to a network port (I don't see that as a configure choice).
    If anyone has some good info on what I really need to be looking at that'll be great but if you've run into a similar issue that would be awesome.
    Thanks

    Sean,
    Doing a deeper research in our data base I found that  this has  no problems and actually is saying that it works as uplink port  for  FCoE and Ethernet at the same time and it should show up under the  LAN  and SAN tab as uplink ports.
    We set the role of the port to either "Network",  "FCoEUplink" or "UnifiedUplink" based on whehter the port is used as an  ethernet uplink, fcoe uplink or both.
    If you go to the LAN/SAN tab and check the interface you should be able  to see the interface as uplink for both as these are Unified Ports that  can be FC or Eth ports.
    Can you try to unconfigure the port from the  "Equipment"  tab? the LAN/SAN tabs will only let you delete/disable the  interface, and then just configure it as LAN OR SAN uplink?
    Let me know what happens.
    Rate ALL helpful answers.
    -Kenny

  • Question about Network (JNet)

    Dear experts:
    I use Network in my WebDynpro program, in the graphic, first node (A) act as a container, it contain two other nodes: B and C. I found that B and C displaied vertically in A, but I want them are horizontally displayed in A. Anyone know how to do that?
    Thanks.

    If you're talking about round robin DNS, then no.
    DNS is completely blind as to the state of the servers in its table.
    Sure, you can say that your server has two IP addresses, and BIND will happily hand out both addresses to each client, effectively splitting the load between them, but if one of the servers goes down BIND has no way of knowing that and will continue to offer the second IP address as valid, even if users can't get there.
    There are load balancing technologies available that will automatically failover connections from a failed server, but they tend to cost $$$ (or, at the very least require running a separate 'traffic cop' server in front of your real servers and if that goes down then all bets are off).
    That's not to say you're out of options altogether. It's possible to configure Mac OS X's IP Failover - a system that automatically kicks in when a partner server fails. You could use this to take over the second machine's IP address and start up services as soon as the partner fails - users would continue to connect to the hostname they're familiar with, but behind the scenes that IP address has moved to a different box. This is covered in the Mac OS X Server docs - look for IP Failover.

  • Question about network simlocks and countries

    No, I'm not asking how to unlock the phone, as that would be unethical. (Whether or not it is illegal is an interesting question, but not one I'm prepared to venture into here.)
    A friend of mine has a phone that is simlocked to Orange in the UK, and I'm contemplating buying it from him.
    However, even though I'm with Orange, I live in Switzerland.
    Will a phone simlocked to Orange(UK) work with Orange(CH)?

    The simlock information stored in the usually specifies network operator and country. The phone may ignore the country setting if the operator information is correct but I wouldn't bet on it!

Maybe you are looking for

  • How to pass Proxy user dynamically in Toplink proxy authentication?

    Hi, I'm using Toplink Proxy Authentication with my ADF JSF application and want to pass the Proxy user dynamically to the preLogin(..) method of mySessionEventListener (Currently proxy user is hard coded). This is to make my application user as the P

  • Maildrop, Airdrop - so unreliable

    These are good ideas, but in practical they bring more troubles than benefit. On 100 mbps internet line mail attachment is being uploaded o iCloud 100 kb/s  (sometimes faster but usually like that). If I upload it on ftp, it lasts 30 sec, on iCloud 3

  • Create a preset in lua module

    I want to experiment with applying develop adjustments from a plug-in.  noticed the photo:applyDevelopPreset( preset, plugin ) function. Question: Is there a way to create a preset on the fly within the plug-in, for example a preset for  setting the

  • Can Apex 4.1.1 see non-Oracle tables across dblinks using gateway?

    OS: Windows7 64-bit APEX: APEX 4.1.1 OracleXE: 11gR2 Oracle ODBC Gateway: 11gR2 Remote DB: Sybase Anywhere 10 ===================== When trying to develop an application (e.g. interactive report), APEX does not see tables from remote database even af

  • Spinning ball-o-doom after / during thumbnail rebuild

    So I opened iPhoto 6 and not a single photo loaded. Just blank with the dreaded SBOD. So, I do the whole "option + Apple" thing to rebuild the thumbnail cache. I get the window, select the first three options and let it crank. and crank. AND CRANK. N