12-09-2022, 03:55 PM
(This post was last modified: 12-09-2022, 10:51 PM by Ikerkaz.
Edit Reason: Adding info
)
(12-08-2022, 06:10 PM)SMcNeill Wrote:(12-08-2022, 05:42 PM)Ikerkaz Wrote: Hello, I'm trying to run this program on two computers in my own house, but it does not work.
I tried to change the line TCP/IP:7319:localhost and I tried 8080:192.168.1.23 (the host's IP) but it is useless.
What am I doing wrong?
Thank you very much.
I haven't tried to reproduce what you're doing with 2 computers on the same home network yet, but my first though it that they both need to still use the same ICP/IP port to communicate. Try TCP/IP:7319:localhost and TCP/IP:7319:192.168.1.23, and let me know how that goes for you. (If there's any issues, disable firewall for few minutes on both PCs, if you can, just to rule out that it's not being a cause of problems with you, and then don't forget to re-enable if after testing.)
When I open the program both times in the same computer, one is titled "HOST" and the other is titled "CLIENT", but when I open in two different computers both are titled "HOST". I tried what you said changing IPs, but it does not work
EDIT: I changed the code and reprogrammed some parts using TCP/IP:300:192.168.1.23 and now it works !!!!!
10 PRINT "Hola! "
20 GOTO 10
20 GOTO 10