Hello, i've attached an image with my scenario.
I want to connect from my TCP/IP based terminal to the x25 terminal. (please show the diagram i've attached)
There is something missing in my head that doesn't allows me to imagine how to connect to the x25 Terminal.
Now i don't have the necessary infraestructure to make test and know how to connect, so i need that someone answer my questions.
I have developed a java application with a tcp socket. That socket manage tcp connections. When a tcp packet arrives i convert the data (that is the x25 packet and xot header) into understandable information. When i want to send a message i used this converter to create the correct x25 packet , then i add the xot header and i want to send it through the socket.
Now my questions:
1) How do i establish connections from my socket to the x25 terminal?
2) What is the ip that i've to put in the socket configuration to communicate with the x25 terminal? what about the port?
Basically i don't understand how to establish the peer to peer connection. If i use a socket i need to connect to someone in order to send and receive messages. so i don' t understand who is that one and if it is the correct way.
Thanks in advance...