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

ipc data frame codec different with java ipc #44

Closed
XunDai opened this issue Feb 26, 2016 · 2 comments
Closed

ipc data frame codec different with java ipc #44

XunDai opened this issue Feb 26, 2016 · 2 comments

Comments

@XunDai
Copy link

XunDai commented Feb 26, 2016

java frame:
[4 bytes serial] [4 bytes number of package] [package [4 bytes length][length bytes package payload]]
javascript can not call java server.

@mtth
Copy link
Owner

mtth commented Feb 26, 2016

IPC with Java can be done over many different transports (e.g. HTTP, Netty). If you use a transport with a custom transmission format (similar to your example), you'll have to:

@mtth
Copy link
Owner

mtth commented Feb 28, 2016

Closing since #43 is basically the same question.

@mtth mtth closed this as completed Feb 28, 2016
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