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

Connect a hosted TCP service #33

Open
Abhijeet310187 opened this issue May 15, 2018 · 2 comments
Open

Connect a hosted TCP service #33

Abhijeet310187 opened this issue May 15, 2018 · 2 comments

Comments

@Abhijeet310187
Copy link

Hi,

We have a logging service hosted in our infrastructure, that is built using HIK SCS library.

Is it possible to connect to the service normally without HIK SCS client?

I am getting issues.

@hikalkan
Copy link
Owner

Is it possible to connect to the service normally without HIK SCS client?

Yes, possible if you can implement the same protocol on the pairing application. You can understand protocol (used BinarySerializationProtocol by default) from the document (https://www.codeproject.com/Articles/155282/A-Complete-TCP-Server-Client-Communication-and-RMI) and source code.

Hint: See to understand the message format of the BinarySerializationProtocol class:

https://github.com/hikalkan/scs/blob/master/src/Scs/Communication/Scs/Communication/Protocols/BinarySerialization/BinarySerializationProtocol.cs#L60

There is a 4-bytes "message length" followed by the binary serialized object (for each message).

@Abhijeet310187
Copy link
Author

Abhijeet310187 commented May 15, 2018 via email

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