I'm trying to sort out some basic networking code, which starts by getting an NSHost object then using getStreamsToHost to open the connection. The problem I am having is the following:
NSHost * host = [NSHost hostWithAddress
"127.0.0.1"]; //works perfectly
NSHost * host = [NSHost hostWithAddress
"172.31.5.12"]; //doesnt work
172.31.5.12 is the address of another computer on my network. I can ping it so it is not a network connectivity problem. Any ideas?
Thanks.
NSHost * host = [NSHost hostWithAddress
NSHost * host = [NSHost hostWithAddress
172.31.5.12 is the address of another computer on my network. I can ping it so it is not a network connectivity problem. Any ideas?
Thanks.