Hi all.
I’m looking for a way to use the Kermit protocol with Java.
Is there any free implementation of the protocol?
I can’t use any TCP/IP : the machine I want to connect to is too old…
I think he connects to the old machine, Java side is running on modern computer. I remember using Kermit back in time when used modems and bbs systems.
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
PPP is what we used to connect computers to the internet when all we had was analog modems.
It stands for Point To Point Protocol. Its an encapsulation of TCP/IP that transfers across serial lines.
There were quite a few reasonably priced implementatiosnabck in the day.
For quite awhile though its been bult into Windows. If you create a “dial-up network connector” thats what you ae really getting.
JK
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…
[quote]Did you release any source code?
[/quote]
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.
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.