PaulB
PaulB

Reputation: 73

Small java WebSocket Client, which supports subprotocol?

I have a WebSocket server in C (using libwebsockets) which differentiates between a few subprotocols. I now need a Java Client which is able to use different subprotocols. I tried TooTallNates Java-Websocket, but i think it dosent support different protocol types. Also i tired jetty but i cant make it work properly also it look a bit to complex for my task. i just want the possiblity to read and write messages using websocket and i dont need all those fancy extra features. Which libraries would you suggest?

Upvotes: 0

Views: 443

Answers (1)

Kileraptor1
Kileraptor1

Reputation: 11

If you just want to create a basic Server, you can use the ServerSocket already in java, which is pretty easy. I am currently working on a sort of groupchat in a command-prompt and I've been using this method. My first answer, so feel free to ask back. (Or give feedback)

Upvotes: 0

Related Questions