-
Notifications
You must be signed in to change notification settings - Fork 5
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
General questions about coap+tcp usage ? #69
Comments
Hi, that is correct. There is only client side integration. |
I feel a little silly because I understood that tcp support was available at client and serve side 😅. Is server side support in project scope ? |
Oh, sorry for misunderstanding. I should clarify that in readme. |
If I want to add I will try to work on this in Leshan repository but I guess if I succeed to get a working solution, maybe it will make more sense to add it in Do you already think about how it should looks like ? |
It depends what we want to accomplish. For high load, non blocking, production then definitely netty. For proof of concept or to proof functionality, then maybe easier with ServerSocket. |
About proof of concept, there is already |
Still work in progress but my first working version is available at : eclipse-leshan/leshan#1528 |
I begin to play with coap-tcp API of java-coap.
I understand this is more or less like CoAP over UDP except I need to :
TcpCoapServer.builder()
,.blockSize(...).maxIncomingBlockTransferSize(...).maxMessageSize(...)
,CoapTcpTransport
.For the last point (providing a
CoapTcpTransport
), I only found implementation for client :SocketClientTransport
. but nothing for server. Except an out of APISingleConnectionSocketServerTransport
class in tests which seems to support only 1 client at a time.Then I tell myself that maybe there is only server implementation based on netty ? but it seems that
NettyCoapTransport
implementsCoapTransport
only.Did I missed something ? 🤔
The text was updated successfully, but these errors were encountered: