antoinelechacal
|
 |
«
Posted
2006-06-27 13:31:56 » |
|
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...
Thank you guys.
See ya
|
My name is nobody
|
|
|
sunsett
|
 |
«
Reply #1 - Posted
2006-06-27 14:44:31 » |
|
|
|
|
|
SluX
|
 |
«
Reply #2 - Posted
2006-06-28 18:54:16 » |
|
Hehe my avatar is kermit....  Omg i m a spammer 
|
"Intelligence is the most beautiful gift and the greatest temptation which one life can receive from the gods."Me Play strategic football
|
|
|
Games published by our own members! Check 'em out!
|
|
Jeff
|
 |
«
Reply #3 - Posted
2006-06-28 22:01:58 » |
|
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...
Thank you guys.
See ya
You cant even use a PPP stack? Wow.
|
|
|
|
antoinelechacal
|
 |
«
Reply #4 - Posted
2006-06-29 12:11:03 » |
|
What do you mean with PPP stack?
|
My name is nobody
|
|
|
Kova
|
 |
«
Reply #5 - Posted
2006-06-29 18:13:52 » |
|
I can't use any TCP/IP : the machine I want to connect to is too old...
older then TCP/IP? ... and you can run Java on it?
|
|
|
|
whome
Junior Devvie  
Carte Noir Java
|
 |
«
Reply #6 - Posted
2006-06-29 18:45:06 » |
|
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.
|
|
|
|
ryanm
|
 |
«
Reply #7 - Posted
2006-06-30 00:22:42 » |
|
I remember using Kermit back in time when used modems and bbs systems. Who let grandpa out?! Back in your room old man!  My apologies, I really shouldn't post when drunk 
|
|
|
|
antoinelechacal
|
 |
«
Reply #8 - Posted
2006-06-30 07:19:28 » |
|
Whome is right, the old machine doesn't provide any tcp/ip support, there's a RS232 port on this machine and I can't change the protocol...
|
My name is nobody
|
|
|
whome
Junior Devvie  
Carte Noir Java
|
 |
«
Reply #9 - Posted
2006-06-30 19:40:59 » |
|
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 :-) They have released newer versions that may solve installation problems, but I havent tried it. http://java.sun.com/products/javacomm/index.jsphttp://www.rxtx.org/
|
|
|
|
Games published by our own members! Check 'em out!
|
|
antoinelechacal
|
 |
«
Reply #10 - Posted
2006-07-03 07:05:39 » |
|
thanks whome I will consider using JavaComm, it looks pretty good 
|
My name is nobody
|
|
|
pepijnve
Junior Devvie  
Java games rock!
|
 |
«
Reply #11 - Posted
2006-07-03 09:11:57 » |
|
If you're working on something commercial and have a small budget, you could check out Java Kermit.
|
|
|
|
swpalmer
|
 |
«
Reply #12 - Posted
2006-07-03 16:43:59 » |
|
thanks whome I will consider using JavaComm, it looks pretty good  Each connection with Java Comm leaks resources (handles actually) on Windows. I ended up writing my own special-purpose bindings for my Windows app.
|
|
|
|
antoinelechacal
|
 |
«
Reply #13 - Posted
2006-07-04 07:58:20 » |
|
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? Did you release any source code?
|
My name is nobody
|
|
|
Jeff
|
 |
«
Reply #14 - Posted
2006-07-04 21:07:19 » |
|
What do you mean with PPP stack?
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.
|
|
|
|
blahblahblahh
|
 |
«
Reply #15 - Posted
2006-07-04 23:41:15 » |
|
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...
|
malloc will be first against the wall when the revolution comes...
|
|
|
swpalmer
|
 |
«
Reply #16 - Posted
2006-07-06 03:02:07 » |
|
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. 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.
|
|
|
|
Jeff
|
 |
«
Reply #17 - Posted
2006-07-11 01:33:48 » |
|
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
|
|
|
|
swpalmer
|
 |
«
Reply #18 - Posted
2006-07-11 04:09:31 » |
|
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.
|
|
|
|
|