Results 1 to 2 of 2

Thread: How do I send data to a port... using java?

  1. #1

    Thread Starter
    Banned debbie_82's Avatar
    Join Date
    Jan 2004
    Location
    inside a hollow void
    Posts
    104

    How do I send data to a port... using java?

    How can I send data to a port using java... what classes can I use...

    I'm not talking about a network port but a device like that of the monitor of a cash register connected to a computer?

  2. #2
    Addicted Member MethadoneBoy's Avatar
    Join Date
    Oct 2001
    Location
    Preferably somewhere between Keira Knightley and Diane Kruger but I'm not fussy
    Posts
    180
    If you're looking to send data to the screen you simply use the System.out.println () method. Otherwise I'm now sure how or why you'd send data to the monitor.

    Presumably, the device that you want to send to would have to be compatible with Java or some other language, so I'd imagine it would be similar to networking in that you'd have to agree on a port to manage communications between the device and your program.

    There are "device capture" methods that exist in Java but I think they are only suitable for audio devices such as microphones, etc.
    "'Oh, hello Mr. Crick! What do you think of Jeffrey Archer?' Clip-clip-clip! Oh, come on! Who are you kidding? You wait til I'm mayor, you'll see how tough I am! Christ almighty...."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width