Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 11 Online
OpenStudy (anonymous):

http://dpaste.com/821350/ and http://dpaste.com/821352/ are server and client codes .how am i supposed to chang the host so that they can work on different machines

OpenStudy (rsmith6559):

HOST is just a variable that doesn't change during the program. It looks like you're only using a PC, so you'd probably be better off using the IP address of the server. BTW, when you start playing with multiple machines, firewalls can be a challenge for you. If it's the same machine, just use the address: 127.0.0.1

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!