It's seems you misunderstood what LocalAddr is. LocalAddr is the address that sender should use as source address, you can specify it if PC1 has several IP and you want to use one of them. PeerAddr should be the address of PC2, what do you mean by "IP of the network of PC2". If PC2 has local IP, you can't directly connect to it over the internet. You should use SOCKS or some sort of NAT on router to be able to connect to PC2 in this case. What kind of router do you use?
In reply to Re: Sending Socket peer to peer
by zwon
in thread Sending Socket peer to peer
by karstenda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |