Check out the Java Communications API at the JDC (free registration
required).

http://developer.javasoft.com/developer/earlyAccess/javacomm/index.html

There's example code in this month's JavaWorld,
http://www.javaworld.com/javaworld/jw-09-1998/jw-09-indepth.html, and a
rich description in an older article,
http://www.javaworld.com/javaworld/jw-05-1998/jw-05-javadev.html

          hope this helps,
             Steve


Jim Watson wrote:
> 
> Dear All,
> 
> I know that this question isn't really related to java/Linux but I could do
> with a few pointers..
> 
> I'd like to write an application that sends and receives short ASCII text
> strings using the com port on my PC, using RS232.  Could anybody point me
> to any packages/existing source code that already does this so I can see
> how to do it.
> 
> Thanks in advance.
> 
> Jim
>                      \\\|///
>                    \\  - -  //
>                     (--@ @--)
> +-----------------oOOo-(_)-oOOo---------------------+
> | Jim Watson                         MCI (Sri Lanka)|
> | e-mail: [EMAIL PROTECTED]                           |
> +---------------------------Oooo--------------------+
>                     oooO   (   )
>                    (   )    ) /
>                     \ (    (_/
>                      \_)

Reply via email to