Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EOF when trying to connect to a server with a different ip address #5

Open
Jacic opened this issue May 30, 2018 · 0 comments
Open

EOF when trying to connect to a server with a different ip address #5

Jacic opened this issue May 30, 2018 · 0 comments

Comments

@Jacic
Copy link

Jacic commented May 30, 2018

The library works great when connecting to another instance of the program on the same machine, except for when the server is bound to a different ip address than the client attempts to connect to.
For example: if the server is created with an ip of "127.0.0.1" and a port of "32000" and the client attempts to connect to "127.0.0.1" on port "32000", it works just fine. If both the client and the server are using the machine's private ip (say, 192.168.1.14) and let's say port 32000, it works. However, if the server is created with "127.0.0.1" and "32000" and the client attempts to connect to "192.168.1.14" and "32000", it cannot connect.
I have handlers as in the example code in the readme, and the connection error handler is called due to an EOF.
Additionally, I have not had success in connecting between different machines, as different ip addresses are used when creating the client and server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant