Sending BufferedImage type objects over a network connection

I recently started a program to remotely control a computer through the use of Robot, socket connections, and MouseInfo. I would like to be able to display an image of the subject's screen on my computer, but the only solution I thought of was to save the screen capture to the computer, send it using a BufferedOutputStream, save it to a file, then load it with ImageIO and display it. There has to be a way to streamline this process. Any help?

Well you're on the right track but why are you saving it to a file? Capture their screen then send it over a stream straight to the other machine. There's no reason to create a file.

Similar Messages

  • Filling iShuffle over a network connection - possible?

    Hi, my wife and I have a Mac and a PC. My Music files are on my Mac and her music files are on her PC. She likes to listen to my music via a shared connection to my Mac (we set up sharing in iTunes on her pc in order to do this). What we are wondering is can she load up her iShuffle with shared songs from my music library on my Mac over the network via her PC? In other words, she not only wants to be able to plug her iShuffle into her PC and fill it up with songs from her own library (located on her PC) but also with songs from my library (located on my Mac) over a network connection. We don't want to have to transfer all of my Mac song files to her PC - that would seem like a waste of space and a bit redundant. So, is it possible to fill and iShuffle over a network connection?
    Thanks,
    John
    Dell XPS M140 and Mac Mini   Mac OS X (10.4.8)  

    Hi, my wife and I have a Mac and a PC. My Music files
    are on my Mac and her music files are on her PC. She
    likes to listen to my music via a shared connection
    to my Mac (we set up sharing in iTunes on her pc in
    order to do this). What we are wondering is can she
    load up her iShuffle with shared songs from my music
    library on my Mac over the network via her PC? In
    other words, she not only wants to be able to plug
    her iShuffle into her PC and fill it up with songs
    from her own library (located on her PC) but also
    with songs from my library (located on my Mac) over a
    network connection. We don't want to have to transfer
    all of my Mac song files to her PC - that would seem
    like a waste of space and a bit redundant. So, is it
    possible to fill and iShuffle over a network
    connection?
    In my experience, no...

  • Sending Connection Object over the Network using RMI

    Hi,
    How can a Connection object be sent over the network and run on another JVM. I need to hold connection object to execute processes one after other, that require Oracle connection without ever connecting again. I do not have J2EE container or webserver setup to hold connection/connectionpool,but need to run the process on command line. I am using RMI infrastructure to pass parameters/return values but connection object is not serializable and connot be marshalled and failing. Please explain, if there is another way using JDK 1.4
    Sudheer

    I think that what you want to do is connect to the database on the RMI server object, then use the server object from your remote clients to execute the processes you require to rrun.

  • Sending Connection object over the network

    Hi,
    How can a Connection object be sent over the network and run on another JVM. I need to hold connection object to execute processes one after other, that require Oracle connection without ever connecting again. I do not have J2EE container or webserver setup to hold connection/connectionpool,but need to run the process on command line. I am using RMI infrastructure to pass parameters/return values but connection object is not serializable and cannot be marshalled and failing. Please explain, if there is another way using JDK 1.4
    Sudheer

    I don't believe this is possible. A connection object has a number of associated structures on the operating system, which generally makes it impossible to move. From a fundamental networking level, you also cannot, in general, cause a connection to machine1 to start communicating with machine2-- that would introduce all manner of security problems.
    Why don't you want to just create another connection on the other machine?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Build iTunes 7.7.1 Library over a network connection?

    Using the OPT-open iTunes to get it to ask for an iTunes Library, I connected my 2 Macs together using Connect to Server, and chose the iTunes Library on my Server Mac.
    All the Artwork showes up in my Servee Mac, but, after also Connect tp Server for the partition containing the Song files, I get a very choppy Playback ... and I cannot stop iTunes ... which isn't really working: the Progress bar makes no Progress.
    Is it possible to connect over a Network , and build the Livrary locally ... thereby having the Album Artwork and Shared files, without Sharing the files the other usual way of Looking for Shared Libraries(where Artwork isn't available)?

    I've been unable to launch itunes (7.6.2) ever since the latest updates. Actually, I could launch in a library-less test account, and once after deleting my entire preference (although upon the next restart I had the same problem).
    What is iwow?

  • App imitates sending out a virus over the network

    The last time I ran the Classic App called "Farallon Ping" which came with my old Farallon NC I bought years ago was back in 2003 or 2004 and I was told by IS of the University I was attending not to run it again as the app makes it appear to be sending out viruses over the network. The app is useful as it tells me my IP address and the IP address of every computer in my domain and offers many other features some of which that are lacking in the built in OSX utilities.
    I am at a much larger University these days and I was wanting to run this app for the features but not sure if I should.
    Is this post appropriate for this group and if so what do you say?
    Thanks

    Know nothing about Farallon Ping. Would MacPing at http://74.125.93.104/translate_c?hl=en&sl=nl&u=http://dartware.com/downloads/leg acy.html do the same thing?
     Cheers, Tom

  • Sending Mail from iPhone over SSL-encrypted connection

    Hi,
    when I synced my mail accounts to the iphone I had to accept the invalid certificate (it is self signed) once and that made imap work.
    When I tried to send a mail over an encrypted connection to the smtp server, using the same certificate, it never asked me anything but refuses to send out the mail. It just stays in the outbox.
    On server side I see in the logs:
    lost connection after STARTTLS from <My Iphones Ip>
    Is it possible to send mail using self signed certs with the iPhone these days. Or do I have to wait (or get an signed cert). Is there something like keychain management on the phone?
    Thank you in advance.
    Christian

    Hi!
    I am suffering from the same problem. Did you found a solution already?

  • Sending Custom Java Objects over XML!!

    Hello all !
    Can anybody please tell me how can I send custom Java Objects through XML? For example we can set attributes for a node using the setAttribute method, it accepts only strings, also the setTextContent method requires text and sets the node's value.Can I some way set my own Java object as the value of a particular node or attach it to the node?
    Thanks in advance.

    Kami_Pakistan wrote:
    So I should rather go for Marshalling or Serialization or is there any other work-around possible?I don't know. You didn't say what you had against text formats. Since all Java objects are composed of primitives when you get right down to the bottom, everything in Java can be serialized as text versions of those primitives. So you're going to have to explain why you think a work-around is necessary at all.

  • Printing over wireless Network connection

    Both my iMac and Macbook are networked over a wireless network. My printer is connected to my MacBook.
    I have turned on print sharing on both computers and am able to see the printer that's connected to my MacBook on my iMac, but when I try and print something on my iMac, nothing happens.
    It gets added to a print queue on the iMac, but not the MacBook.
    Can anyone give me an explanation as to why this is happening? and how to rectify this?
    Thanks!
    Phil

    I have a PowerMac G5 desktop which has a printer attached by USB. I have a wireless router, to which the G5 is connected by Ethernet, and a MacBook wirelessly. Printer Sharing is turned on on the G5 because it is "hosting" the printer. I don't have Printer Sharing turned on on my MacBook. I can print wirelessly from the MacBook even though printer sharing is off (I do have file sharing turned on, however). Any computer on the network (I only have a MacBook) can see the printer attached to the host G5. I wonder with your setup why your printer is attached to the laptop and not the desktop (just your preferred setup I guess). I wonder if having both computers' print sharing on is confusing things b/c only one of them actually has a printer attached. I do remember having to reboot in the early days of my setup when I had Printer Sharing enabled on both machines. But like you said it is working so it really doesn't matter.
    My $.02 worth.

  • Objects over the network

    is it possible to read in an object from a reader.println(Object x); type method?

    For your networking questions, first read:
    http://java.sun.com/docs/books/tutorial/networking/index.html
    (read "Overview of Networking" and "All About Sockets")
    That will get you started with a simple client/server package. Then go to the API (http://java.sun.com/j2se/1.4/docs/api/index.html) and look at the java.io.* package. You'll probably want to peek at the various Input/Output stream classes for using Objects (i.e. ObjectInputStream/ObjectOutputStream). It shouldn't be too difficult to figure out all you need from the above tutorial and the javadoc API. Once you get going, if you have problems, post specific code and/or exceptions here and it'll be easier for people to help.
    Good luck
    -Eric

  • Can you recommend an app to run excel documents off line and let the files be saved to the ipad not over a network connection

    Can anyone recommend and app for ipad mini to run excel documents offline and let the files be saved ot the ipad hard drive. I am frequently out of network range and need to be able to run the sheets.

    All of the "Office" document editing applications on the iPad have limitations.  Best try them out to see if they meet your needs.
    iWork by Apple
    Keynote
    Numbers
    Pages
    DocsToGo
    • VIEW/EDIT/CREATE Word & Excel files(Office 2007/2008/2010)
    • VIEW PowerPoint, PDF, iWork, Text, .RTF, and more!
    • Send & receive attached supported documents using the built-in Mail app
    • FREE desktop application with your purchase! Compatible on Win & Mac allows you 2-way file sync with a WIFI connection.
    • Open & Edit files within DocsToGo from any 3rd party app that supports the “Open In” feature
    • Supports iTunes File Sharing via USB cable for manually moving files
    https://itunes.apple.com/us/app/documents-to-go-office-suite/id317117961?mt=8
    Office² HD
    "Office² HD, the most intuitive and straightforward office document editor available on the iPad, makes it easy to open, view, create and edit Word (DOC & DOCX), Excel (XLS & XLSX), and PowerPoint (PPT & PPTX) files right from your iPad!"
    https://itunes.apple.com/us/app/office2-hd/id364361728?mt=8
    Quickoffice Pro HD
    Create and edit ALL Microsoft® Office -- document, spreadsheet, and presentation formats, as well as view PDF files, on the go. Our advanced file manager lets you manage local files, access Google Drive or other cloud accounts, and works with your iPad email attachments so you can work anywhere, anytime - online and offline.
    https://itunes.apple.com/us/app/quickoffice-pro-hd-edit-office/id376212724?mt=8
    nsdjoey presents ways to edit office documents in this web page:
    https://discussions.apple.com/message/21953221#21953221

  • Outlook 2010 performance much slower than 2007 and 2003 when used with POP3 mail provider over slow network connection

    When received messages include embedded pictures, Outlook 2010 does not persist those pictures in the .pst file with the message text.  Instead, it redownloads the pictures every time the message is rendered for viewing or printing.
    Send/Receive to replicate a message with multiple embedded pictures from POP3 mail server (not Exchange server)
    Select and view the message - notice all the x placeholders for the embedded pictures
    Right-click any x placeholder and select to "download pictures"
    After some delay, the pictures are rendered, replacing the placeholders, to form the complete message
    Now, select "File" and "Print" -- notice that the preview is not immediately displayed.  There is a delay while thos same embedded pictures are downloaded, again.  Sometimes there will be a pop-up notification that Outlook is "communicating with
    the server"
    Eventually the message is fully rendered with all embedded pictures
    Now, select a different printer -- notice that the preview disappears and it takes time to .... yes, redownload those same pictures, again.
    Finally, click on "Print" -- notice yet another delay for a final download to rerender the message for the printer.
    Having done all that, close Outlook, disconnect from the network (turn off wireless or disconnect wire), open Outlook and view that same message.  The x placeholders are shown instead of the embedded pictures.  Although those embedded pictures
    were downloaded multiple times already, they were not persisted locally.
    Outlook 2003 and 2007 correct ask for confirmation to save the pictures locally then does so.  Printing and viewing is then possible without having to redownload those pictures.
    Is there going to be a fix for this Outlook 2010 defect?   I've been waiting, applying updates, and waiting.....

    Please do not close this thread.  The issue remains.  I apologize for not checking back sooner.  I thought I would get pinged by email when this tread was updated;  I did not.  I'll monitor more closely in the future.
    First, please note that I explicitly set Outlook to NOT download pictures automatically.  I want to be prompted to download.  However, after confirmed that I want the download, I expect pictures related to the message to be downloaded only once,
    immediately after I confirm that I want them downloaded. 
    I have confirmed many times that the behavior in this area is NOT identical between 2003, 2007 and 2010.  In particular, 2007 does download once and store locally (if user confirms to save changes when prompted), as expected, and 2010 downloads each
    view/preview/print.
    This is quite easy to verify -- simply unplug any network cable, disable wireless, etc.  In other words completely detach from the networked world.  2007 will correctly view/preview/etc. from local storage whereas 2010 always reverts to showing
    placeholders for any embedded images.  This is 100% repeatable.
    As an additional verification, simply move the .pst file to another system that is not connected to any network.  Open the .pst file with 2007 and any embedded images that were already downloaded (and saved) are there, with 2010 they are not.
    With 2010, it is bad enough that embedded images are not saved for viewing when disconnected.  Worse than that, the repeated downloads can be a significant disruption to performance.  Just get on a really slow wireless connection as is typical
    in some hotels.  Then try to view and print messages with lots of embedded pictures.  Slow takes on a whole new, even slower, meaning.
    This 2010 defect has been reproduced.  Is there a KB article, Windows Update, hotfix,.... anything available to eliminate this problem of repeated downloads of embedded pictures?

  • How do I configure Server DHCP for a shared-over-WiFi network connection?

    Hey all,
    Here's how my network is set up-
    Comcast > Modem > DD-Wrt router >(Ethernet)> Mac Mini >(WiFi)> Macbook Pro, other devices.
    I set the router to use the Mac Mini (with OS X Server) as the DHCP server, and I have the Mac Mini sharing the ethernet connection over WiFi.
    The issue is that while my Macbook Pro can get an IP from the Mac Mini (as per DHCP settings), there's no internet connection.  I'm not sure I even have the router IP set correctly, should it be the Mac Mini's IP or the router's IP?

    I would normally use the router as the DHCP server but it should be possible to use your Mac mini as the DHCP server instead.
    With regards to the WiFi, you would want to configure it in bridging mode, this will let WiFi clients and Ethernet clients be on the same subnet and the WiFi clients will then be able to request DHCP addresses from your server on Ethernet. This is the way I have my home network setup.
    In the DHCP settings on your Mac mini server, you need to define the default gateway/router as being the IP address of your router. You also need to define valid DNS server addresses. If you running your own internal DNS server perhaps for Open Directory then this would be your internal DNS server address. The range of IP addresses you are issuing need to match the range being used internally by your router as does the subnet mask.

  • Need to send object instances over the network

    I found no other way to implement a switch case to cast objects on both sides to solve my problem.
    Basically I need to send objects over a network protocol based on XML, the object is sent inside XML
    converted in base64, overall encoding of XML is utf-8.
    Let's suppose in my network there are 2 peers connected via socket.
    I have multiple instances of different types on both peers but I want to keep these instances
    synchronized. If something changes on side A, side B must receive that instance and replace
    it in the correct place (just one way, from A to B).
    When I receive such instance on B I want to cast it to it's proper instance
    of it's proper type and I am scratching my head on how could I implement this without some
    sort of unique ID table and switch case.
    If I had 1 instance per type could it be done easily?
    But I need to keep in synch many instances per type.
    Is there any dynamic casting that I can trigger based on some type/instanceID information
    I could send along the object?

    I found no other way to implement a switch case to cast objects on both sides to solve my problem.
    Basically I need to send objects over a network protocol based on XML, the object is sent inside XML
    converted in base64, overall encoding of XML is utf-8.
    Let's suppose in my network there are 2 peers connected via socket.
    I have multiple instances of different types on both peers but I want to keep these instances
    synchronized. If something changes on side A, side B must receive that instance and replace
    it in the correct place (just one way, from A to B).
    When I receive such instance on B I want to cast it to it's proper instance
    of it's proper type and I am scratching my head on how could I implement this without some
    sort of unique ID table and switch case.
    If I had 1 instance per type could it be done easily?
    But I need to keep in synch many instances per type.
    Is there any dynamic casting that I can trigger based on some type/instanceID information
    I could send along the object?

  • Can object transfer over the network without serialization?

    Hi all,
    Can we send the objects over the network (from clent to server)
    without seraializing it?
    Thanks in advance

    Yes. By sending its values by any other means, like as XML.

Maybe you are looking for

  • My laptop scared me to death while running a game !! please HELP!!?

    Hi everyone I have a Lenovo G580 laptop with a 4GB ram and an Intel Core i3-3120M procersor with Windows 7 Ultimate 64-bit. And a NVIDIA GE-FORCE Graphic card with a 1696 MB of memory. I played Need for Speed Rivals on my laptop and the game ran with

  • How to change the Task title on runtime?

    Hi experts again, My customer is struggling with something very simple: how to customize the Task title. You can certainly create an argument in the task, use Data Associations to map the argument, and then use XPath expression to get the value from

  • Deployment of objects in OWB10g with Personal Edition Database

    When trying to deploy objects in a Personal Oracle 10g database with OWB10g, the following error occurs: RPE-01011: Cannot deploy to target database location because it does not have a compatible version. Deployment on the same database but on Enterp

  • Syncing & speed issues on MTP Zen X

    I had thoughtlessly 'upgraded' my Zen Xtra 30GB to MTP firmware. Nomadsync doesn't work anymore !! I am in a big soup now as I use Zen as the primary store of music and do all iD3 fine tuning, new transfers, deletions etc on it through my laptop whic

  • My iPad will not update 2 of apps

    My iPad will not update 2 of my apps. It shows the bar on them saying they need to load so I click on them and it says this app can not be uploaded at this time. I'm not sure what the problem is. I have tried to upload them on different types of inte