Have you managed to do any JavaCOMM rs232 transfer/debug?I don't know Kermit protocol details but I bet it cannot be that hard to implement in Java.

I have made one project for reading SMS messages from the Mobile phone. I tried javacomm library and it worked fine in most computers. But then it just refused working on other windows machines without real reason.

Then I too rxtx library (implements javacomm api) and it worked on all windows machines. But it was a bit tricky to make working. Downloaded windows and Solaris library, took comm.jar file from solaris packaged and used with windows package made it work on all machines :-)

P.S Grandpa, hah! I remember when we had to use ZMODEM, whippersnapper.

sod that - I rememer being an *evangelist* for this new-fangled zmodem, trying to stop people using xmodem and worse horrors *shudder*, largelyl because they tied-up my incoming lines too much when they did that (or made my synchs with their boards take FOREVER) .

Each connection with Java Comm leaks resources (handles actually) on Windows. I ended up writing my own special-purpose bindings for my Windows app.

How hard is it to write such a binding?

It's not hard.

Quote

Did you release any source code?

This was for work - closed source, though the win32 COMM bits are generic enough that I could probably share some code. My application was controlling video tape recorders via a RS-422 connection (using an adapter on the PC's RS-232 port) so I hardcoded many things to deal with the specific protocol that I needed to implement.

Read the Win32 docs for dealing with Comm ports and I'm sure you could cut and paste from the examples, add the JNI stuff and have something going in no time.

P.S Grandpa, hah! I remember when we had to use ZMODEM, whippersnapper.

sod that - I rememer being an *evangelist* for this new-fangled zmodem, trying to stop people using xmodem and worse horrors *shudder*, largelyl because they tied-up my incoming lines too much when they did that (or made my synchs with their boards take FOREVER) .

AND ... I know you go back much further than I do, so...

heh yeah I just frogto about XModem. God what a pig

Good memory there BBB.

JK

Got a question about Java and game programming? Just new to the Java Game Development Community? Try my FAQ. Its likely you'll learn something!

I remember "overclocking" my 300 baud pocketmodem on the C64 so I could download with X-Y-ZModem at a wicked 450 baud. We used to use ANSI terminal escape codes to make "animations" with character graphics... the messages would download so slow that the you could watch the little stick people move around at about 1 fps . Of course then there was the those nights while writing a BBS program in BASIC on the C64 and I kept whistling into the phone to flip the carrier detect bit on the modem... I'm such a nerd.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org