Connecting Two PC using internet connection ??

Hi,
I want to develop one software so that I can connect two PC using internet connection means one is host and another is remote.So that I can access remote PC's Hard drive using internet connction.Can any one plz give me some guideline how I can start.Eagerly waiting for someone reply.
Thanks & Regards
Bikash

This is not what you have in mind, but it will work.
Create a server that listens for connections from a client. Create a list of commands that can be issued by client to view information. Such a list in your case would be similar to the following:
Open
ChageDir
Rename
CreateDir
DeleteDir
ListDir
Next, you need to implement the processes that will actually do the command on the remote computer. When the client issues the "ListDir" command, then adds a line (the path of the directory to list) the server should then do this (vary simple, but you get the idea):
File file = new File(theDirectory);
if (file.isDirectory()) {
String[] list = file.list();
socketOutputStream.println("Directory " + theDirectory);
for (int i=0; i<list.length;i++) {
socketOutputStream.println(list);
socketOutputStream.flush();
So, you should get the idea from this. For each command, have a method to handle the actual work on the server-side, then have the server send the resulting data back to the client for display. Notice how much this looks like DOS. It's the same idea - a command line interface (called a CLI).

Similar Messages

  • Unable to use Internet Connect with my new wireless device

    I just received a new wireless device for my macbook pro. Normally I sign on with Internet Connect, but after setting up the new card, I can only connect using Verizon Manager, which usually doesn't give me good connection, I don't know why.
    I called the Verizon people, they mostly are clueless as to how I was able to sign on using both Internet Connect and Verizon Manager before with my old card. I remember there's a way of setting up manually if you want to use Internet Connect. Problem is, when I went to Systems Preferences and clicked on Network, a pop up prompt saying "your network setting have been changed by another application" keeps popping up even as I keep closing it. ***?!!! How can I get rid of it so I can change network setting manually?
    I just want the option of connecting with Internet Connect with my new wireless device. BTW, when I try connecting with it using my old setting National access/ Broadband access , I get a message saying "the selected communication device does not exist".

    "I just received a new wireless device"
    If not from Verizon, then who? Did it come w/a manual? If not, have you contacted the vendor/manufacturer for instructions?
    ==========
    "A Fix for "Your network preferences have been changed by another application" Error
    In the Library/Preferences/SystemConfiguration/ folder delete the following:
    com.apple.airport.preferences.plist
    NetworkInterfaces.plist
    preferences.plist
    com.apple.nat.plist
    You will have to re-configure all your network settings since deleting"
    !http://i50.tinypic.com/izvwo1.gif!

  • I have installed Adobe digital additions and have tried to aurthorize but keep getting error message "Connection error" . The internet connection is working and I do have an Adobe ID can you help please

    I have installed Adobe digital additions and have tried to authorize but keep getting error message "Connection error" . The internet connection is working and I do have an Adobe ID can you help please.
    I have been using Adobe reader for PC to download my eBooks but the eBook Vendor has switch to Digital Addition,

    this is from sjpt,
    Try completely removing any authorization using ctrl-shift-D to ADE (cmd-shift-D if on Mac).
    Restart ADE, and then reauthorize with your Adobe ID.

  • HT4907 i am trying to set up an airdisk that is connected to my parents airport extreme, though next to my iCloud account details i get a yellow status light and can't get a hold on the airdisk being connected to an other internet connection..what should

    i am trying to set up an airdisk that is connected to my parents airport extreme,
    though next to my iCloud account details i get a yellow status light and can't get a hold on to the airdisk when i'm being connected to a different internet connection..what should i do?
    sharing is enabled and i entered the right account details.
    the disk shows up connected to my parents network, but i want to access it from my place as well

    Encryption wouldn't matter except for Wifi.
    While 10.2 might help, there's not much you can do on the Internet these days with less than 10.4.11
    Tiger Requirements...
    To use Mac OS X 10.4 Tiger, your Macintosh needs:
        * A PowerPC G3, G4, or G5 processor
        * Built-in FireWire
        * At least 256 MB of RAM (I recommend 1GB minimum)
        * DVD drive (DVD-ROM), Combo (CD-RW/DVD-ROM) or SuperDrive (DVD-R) for installation
        * At least 3 GB of free disk space; 4 GB if you install the XCode 2 Developer Tools  (I recommend 20GB minimum)
    http://support.apple.com/kb/HT1514
    http://www.ebay.com/sch/i.html?_nkw=mac+os+x+tiger+retail+10.4
    See Tom's, (Texas Mac Man), great info on where/how to find/get Tiger...
    https://discussions.apple.com/message/15305521#15305521
    Or Ali Brown's great info on where/how to find/get Tiger...
    http://discussions.apple.com/thread.jspa?messageID=10381710#10381710
    As far as Memory, that's sort of easy, find your eMac here...
    http://eshop.macsales.com/MyOWC/Models.cfm?Family=emac&sType=Memory
    As far as Hard Drive, it's not easy to replace the Internal drive, I'd maybe suggest an external Firewire drive to boot from...
    http://eshop.macsales.com/item/Other%20World%20Computing/MAU4S7500G16/

  • HP Web Services Setup - Connection error. Check Internet connection.

    I am trying to enable HP Web Services but Connection error. Check Internet connection. .
    I use static ip with Preferred DNS Address: 8.8.8.8 and 8.8.4.4 and it does not work.
    I changed to DHCP also it does not work.
    I have a ZTE home modem router connected to the printer.
    This question was solved.
    View Solution.

    Hi MaBek,
    Can you check if your printers IP address is valid.
    If you have a laptop or PC connected to the same network, open a browser and type the IP address in the address bar and hit enter. 
    This should open a Embedded web Server page if the IP address is valid.
    Here you can navigate to Web Services tab and click on enable to enable web services.
    Regards,
    Oliver
    "Although I work for HP, I'm speaking for myself and not on behalf of HP"--Please mark the post that solves your problem as "Accepted Solution"
    "Say "Thanks" by clicking the Kudos Star in the post that helped you.

  • I'm unable to login to facebook though I reinstalled twice, but as i try to login it gives an error message as timeout, connection failure or check internet connection.

    Dear service provider, I'm unable to login to facebook even though i tried to uninstall and again reinstall as per the observation from the forum discussion.. but still it gives me arror as Timeout connection, or connection failure and check internet connection.. how to troubleshoot, pls suggest me..
    2ndly I'm unable to search by some of the keywords in itunes. means iTune is not fetching the required information rather it gives no result found message..

    Have you tried a hard reset of the iPod to see if that helps?  To do this, press and hold both the Sleep/Wake and Home buttons together long enough for the Apple logo to appear. 
    Otherwise, work through each of the troubleshooting suggestions in this Apple support document as necessary.
    iOS: Troubleshooting Wi-Fi networks and connections
    B-rock

  • Following hard drive failure on iMac running Maverick I have recovered from TimeMachine backup but now app store does not connect. All other internet connections normal. Does anyone know of a fix?

    following hard drive failure on iMac running Maverick I have recovered from TimeMachine backup but now app store does not connect. All other internet connections normal. Does anyone know of a fix?
    Also mail not loading. The error report suggests that I look for updates from the app store?

    http://www.apple.com/support/mac/app-store/contact/

  • I can't update my ipod. When I check for updates it says "can't connect to server"(despite internet connection being fine). Also, when I try and update software it starts then stops after 2 seconds

    I can't update my Ipod. When I check for updates it says "can't connect to server" despite internet connection being fine. When I receive a software update message;I say install and it starts updating then stops after 2 seconds. Help! (It is a 3rd gen IPod touch(I think)). Presumably as a result of this, I have tried to put my library onto my gf's new iPod touch and it just charges it..doesn't download my library onto the touch).

    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - For one user uninstalling/reinstalling iTunes resolved the problem
    - Try on another computer/network
    - Wait if it is an Apple problem

  • "Connection error. Check Internet connection." when trying to Enable Web Services on HP 1606dn

    Error message "Connection error. Check Internet connection." when trying to Enable Web Services on HP Laserjet 1606dn.
    Operating system: Windows 7
    Thanks for helping,
    Howard
    UPDATE 21-7-13: After upgrading the firmware to the lastest version, I could enable web services. Big help was this video: http://www.youtube.com/watch?v=Q5gpIGZXDXw
    This question was solved.
    View Solution.

    Hi,
    Please try the following.
    1. Open an internet browser type printer's IP address.
    2. Should bring you to the printer's status page.
    3. Select the networking tab at the top.
    4. Left hand side select IPv4 under wireless.
    5. Under DNS address Configuration select Manual DNS Server.
    6. For Preferred enter 8.8.8.8
    7. For Alternate enter 8.8.4.4
    8. Select apply. You might get a warning saying this could interrupt connection that's fine.
    9. Turn printer off for about 30 seconds then try again.
    Although I am an HP employee, I am speaking for myself and not for HP.
    --Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • Just installed Premiere Elements, tring to register I'm getting this message:Either your computer is offline or the clock on your computer is set incorrectly, causing a connection error. An Internet connection is required. Please connect to the Internet o

    Just installed Premiere Elements, tring to register I'm getting this message:Either your computer is offline or the clock on your computer is set incorrectly, causing a connection error. An Internet connection is required. Please connect to the Internet or adjust your clock and try again.". Have tried all suggested steps, no problem registering PSE  one month ago. Win 7 system. Is there a solution?

    Laurenceb70597335 you can find details regarding the activation process at Activation & Deactivation Help.  This includes details on how to activate and deactivate Premiere Elements.

  • HT4425 I was told by apple support the thunderbolt connection could be used to connect an 800 fire wire. Is that correct?

    I was told by apple support the thunderbolt connection could be used to connect an 800 fire wire. Is that correct?

    Only if you are able to find a Thunderbolt to Firewire adaptor.

  • Web Services problem - Connection error. Check Internet connection. - 1102w

    Hello!
    When i try to enable Web Services Setup i get  "Connection error. Check Internet connection." error message. I tried to do manual and automatic IP Address Configuration.
    Picture:
    If you have any idea what should i do, please help me!
    Thank you!
    Benyke

    I did the firmware update utility.  Says my firmware is up to date.  Still get error.

  • Trying to connect to a known internet connection but i keep getting the response "unable to join network"

    Trying to connect to a known internet connection but I keep getting the response "Unable to join network" and the internet is connected, please help.

    Okay now this description was pretty vague but it could be a few things. First thing to try. Turn wifi off and then one again and try to connect. If this fails read on.
    The second step is to select that network in the wifi settings so you get an expanded menu of it. Follow these steps from the home menu on your ipad... SETTINGS>Wi-FI>NETWORK NAME (you have to click the little blue arrow)> FORGET THIS NETWORK. Then turn wifi off and then on. Then try to connect again. If this fails... well read on,
    Okay, so now you really know it's most likely not your ipad, so go on down to your wifi router and turn it off, wait ten seconds, turn it on again. WITH YOUR IPAD OFF. Then turn on your ipad on and then try to connect again. If this fails... Then you'll have to do some more complex things. You could try setting up the network again. IF that fails too. Leave some details about your router, brand, year etc... And I'll try to let you know what else it could be.

  • HT204266 Cannot access itunes store from itunes - says to check internet connection.  I have internet connection.  I've unistalled ALL itunes files and associated files, and reinstalled?

    Cannot access itunes store from itunes - says to check internet connection.  I have internet connection.  I've unistalled ALL itunes files and associated files, and reinstalled?

    Try this:
    1. Settings>General>Date & Time>Turn off set automatically
    2. Set date one year ahead
    3. Go back to iTunes and try again.
    4. You will get the same error.
    5. Go back to settings general date and time and turn back on 'set automatically'
    Try connecting to iTune Store again.

  • Two WRT54G, two networks, same Internet Connection

    If anyone can take the time to educate me in how to effectivly stack routers to share one internet connection but set up two different networks I would really appriciate it.
    I want to set up an open wireless network for customers but have my POS and Cameras on a seperate network that people using the wireless cannot access.  I have two routers, and have tried using different subnets but cannot get it to work. 
    Is there any step by step instructions on linksys's site?  I cannot find them.
    Any help is greatly appriciated.
    Thanks

    Thanks for taking the time to reply.
    I have one WRT54G v5 and one BEFSR41(sorry don't know the version).
    Right now I have the BEFSR41 acting as the router and the WRT54G acting as a wireless access point.  I have a hardwire connection going from port 1 on the BEFSR41 to port 1 on the WRT54G and have DHCP disabled in the WRT54G.  Right now anyone connected wirelessly to the WRT54G has full access to my network.
    What I want to do...
    Modem------------BEFSR41-----------Point of sale registers/Camera DVR
                                              |
                                              |
                                              |
                                              WRT54G(((((((((  to any customers PC
    BEFSR41 DHCP 192.168.1.100-150 Subnet 255.255.255.0
    WRT54G DHCP 192.168.x.100-150 Subnet 255.255.255.xxx
    I want my Wired network to be on a different IP range and Subnet than my Wireless so that customers cannot get onto my wired network.  (I think its called segmenting a network or something like that.)
    Is this possible with linksys's stuff or do I need to step it up a notch and get something like a nomadix?
    Thanks again for the reply.

Maybe you are looking for

  • Can we do oracle 11g software installation in parallel to SAP upgrade

    Hi Basis Expert, I need your inputs for one of this query The query is. Can we do oracle 11g software installation in parallel to SAP upgrade when the system is in Downtime phase. The idea is running SAP upgrade and in parallel running oracle 11g sof

  • Equalizer Presets - how to bring them back!!??

    Hello, I re-installed my whole system after having problems with flash and all my browsers, now I have this "previous system folder" that I moved many of my programs settings from -because doing a "preserve network and user settings" restore would no

  • Action script 3 help card flip

    Help!!  I am new to Flash.  I am trying to make a  card flip,  I have  a photo on one side and info on the back.  It is controlled by a  button.  I get the card to flip but the infor is on the side2 is flipped to be a mirror image so the text is back

  • Printer & HDD won't work thru HUB on Airport Extreme...

    I have an Airport Extreme (newest model)...Canon printer and an external HDD.  I can get the printer and the HDD to work thru the Airport when connected directly to the Airport.  But when I plug a powered USB Hub into the Airport and then plug the pr

  • GUI/Swing

    Hello, I'm trying to get the hang of GUI and Swing. I post the code of the concerned class (and a screenshot), but I think reading the comments will suffice. Short story: It works removing posts with the remove button, because then I am able to backt