What's Up?

OK, So I have a working python script that sends and receives text to and from the client and server python files, However if the Server and Client are on different computers, And therefore we need to connect over the internet, How would we do that?

New to python, Go easy on me :-O

See Ya!

Recommended Answers

All 2 Replies

When you say you are currently sending code between client and server on the same machine, how are you doing this? Via a local socket or what?

If so, you just need to give the client the IP address/port of the server and connect via the "connect" method of your socket object and you will be good to go.

If not, just post back and I'll try to help you out.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.