I meant will there be any change in code. What port will i use and anything else i am not aware of? how will the client acess the server program. or do i just use the same prograam??
correct me if i am wrong.
Printable View
I meant will there be any change in code. What port will i use and anything else i am not aware of? how will the client acess the server program. or do i just use the same prograam??
correct me if i am wrong.
No, there's no change in code. Just make it connect to 127.0.0.1; that's the loopback interface. You can also make it connect to your local IP address, there's no difference. The port will be the same as over a network.