I want to send and receive data between three computers using a TCP socket in Java
- The first computer takes the data from the keyboard and sends it to the second computer.
- The second computer takes the data from the first and sends it to the third computer.
My question is: Can I implement the TCP socket program in the second computer (which receives data from the first computer and sends it to the third at the same time) without using multithreading?