aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Listing/Accesing COM port streams in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Listing/Accesing COM port streams in Java" Watch "Listing/Accesing COM port streams in Java" New topic
Author

Listing/Accesing COM port streams in Java

Binu K Idicula
Ranch Hand

Joined: Jul 11, 2002
Posts: 99
Hi,
How can Java Program List and access, get the I/O streams of the COM ports of a Computer?
Thanks in advance
regards
Binu K Idicula
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8908
    
    8

COM port access is made through the javax.comm api.
The latest version of the comm api does not support Windows, so if you are on that platform your options are listed on our Java IO FAQ.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Piyush Patel
Ranch Hand

Joined: Feb 24, 2009
Posts: 127

java com api for windows can be downloaded from ...

i apology .


you can use that link to configure com api on your machine .

[ UD: Once again removed link. Do not link to pages that advocate downloading native code from such sites. ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41873
    
  63
java com api for windows can be downloaded from ...

No, sorry, downloading native code from an anonymous file sharing site is a huge security risk. That's not what we want to encourage people to do. The javax.com implementation can be downloaded from http://java.sun.com/products/javacomm/


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Listing/Accesing COM port streams in Java