simple java sender/listener program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Slowjam
    New Member
    • Oct 2006
    • 2

    #1

    simple java sender/listener program

    I'm doing C++ and Computer Networking courses and having a hard enough time but have to write a short java program to test a batch file we had to create.

    What I want to do for now is just make a server that listens to connections
    through a port, and accepts it's connections from the client. In other words, I need to creat a primitive messaging service to test on my computer via DOS.

    I don't know much about java...if anyone has some code I could use I'd appreciate it. Thanks in advance.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by Slowjam
    I'm doing C++ and Computer Networking courses and having a hard enough time but have to write a short java program to test a batch file we had to create.

    What I want to do for now is just make a server that listens to connections
    through a port, and accepts it's connections from the client. In other words, I need to creat a primitive messaging service to test on my computer via DOS.

    I don't know much about java...if anyone has some code I could use I'd appreciate it. Thanks in advance.
    look at java.net package and then see what you can write out of it. We will always be here to assist when you need help

    Comment

    Working...