Maybe you can communicate to the serial port where the modem is connected and send commands.
Check this api's:
http://java.sun.com/products/javacomm/index.html
I know you don't want to use IP's but if you are using windows you can accept calls so one computer can dial to other computer and can establish communications using TCP/IP throug modem (without internet) and then you can use sockets in java
hi Jpob77 and all,
Can you explain the solution using TCP/IP more clearly.
if we establish a connection between 2 modem successful by app or hyperTerminal then the COM port would be appropriated, so i can't write any data to this port to take a communication, is that right?
Pls show me any your opinion about this.
Thanks for your cooperation.