File transfer over a serial port using TCP/IP?

Posted on 2005-04-06
Last Modified: 2012-06-27
Does anyone know if it is possilbe and/or practical to use TCP/IP over a serial link between 2 computers using an RS-232 null modem cable  and the javax.comm api to transfer files?

If its worth doing (rather than using Zmodem or kermit) any pointers or code would be much appreciated
Question by:wilmow
    LVL 3

    Expert Comment

    Since there is no TCP over Serial possible, I would assume, no.
    MAybe you find an driver, that shows your serial ports as network adapters, and then you use the tcp facilities of java, but otherwise you have to implement an tcp stack in java itself.
    LVL 15

    Accepted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
    This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
    Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
    This video teaches viewers about errors in exception handling.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now