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

Can Nano-X be used with a server-client distributed deployment? #35

Open
Danoloan10 opened this issue Dec 20, 2019 · 2 comments
Open

Can Nano-X be used with a server-client distributed deployment? #35

Danoloan10 opened this issue Dec 20, 2019 · 2 comments

Comments

@Danoloan10
Copy link

Danoloan10 commented Dec 20, 2019

Hi,
I was wondering, can the Nano-X server and the client be in different hosts and communicate through the internet? If so, how? Upon reading the documentation, I have not seen any information related to this (may well be because I am a poor reader too).

@ghaerr
Copy link
Owner

ghaerr commented Dec 20, 2019

The system could be setup to allow a client to connect to the server over a TCP/IP socket. It isn't coded for this now, but could be easily added by modifying the connect code in src/nanox/client.c to connect to a server IP address rather than the currently implemented UNIX socket. However, the client and server machines would need to have the same endianness, or all the packet writing code would also need HTONS() etc added as well.

@Danoloan10
Copy link
Author

thats awesome, thank you very much and for pointing out where to touch the code too :)

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

2 participants