Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Why can't I give opposite public ip address? #81

Open
hyunsooda opened this issue Sep 21, 2019 · 0 comments
Open

Why can't I give opposite public ip address? #81

hyunsooda opened this issue Sep 21, 2019 · 0 comments

Comments

@hyunsooda
Copy link

hyunsooda commented Sep 21, 2019

In your examples(chat, chat-with-rendezvous) we can give only loopback address(127.0.0.1) instead our real ip address(public ip).

I tested without router but it remains printed error. So this is not real application because we can chat on only local environment.

스크린샷 2019-09-21 오후 2 53 47

Do you know why can't I give a opposite public ip address?

One more question:
There are three peers connected each other. It destroy all connections if a peer terminate own process(ex. Ctrl+C)
Even if a peer terminate own process, other guys(2 peers) should not impact about that and remains connected between 2 peers. I think that 2 peers should receive EOF if a peer close his socket(process termination), however this example was not working as my guess

@hyunsooda hyunsooda changed the title Why can't I give my ip address? Why can't I give opposite public ip address? Sep 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant