websocket client in java?

"이희승 (Trustin Lee)" trustin at gmail.com
Tue Jun 29 02:53:31 EDT 2010


Hi Tom,

The WebSocket example in the distribution contains only the server side
code, but you can write a WebSocket client with Netty, too.  What you
need to take care of is a proper handshake.

HTH,
Trustin

On 06/25/2010 06:12 AM, tomjohnson3 wrote:
> 
> hi,
> 
> i'm trying to figure out if there's a websocket *client* implementation that
> uses netty.
> 
> i've seen the websocket server-side code/example. (awesome!) ...but i'm not
> so much interested in using the websocket protocol to communicate with an
> app running in a browser as i am in having a pure java client/server
> connection using the protocol. i plan to use it to make bidirectional socket
> connection that can pass through firewalls easily (since HTTP/80 is commonly
> open), without having to open special ports, etc.
> 
> if there isn't existing code that i could use, i'll try to whip up something
> myself.
> 
> i'm new to netty (also, awesome!) - and, from my quick scan, it seems that
> the WebSocketFrameEncoder/Decoder would be a good place to start.
> 
> any advice would be appreciated. (any others interested in this? i'd think
> it'd be a great addition to the library...)
> 
> thanks, tom
> 

-- 
what we call human nature in actuality is human habit
http://gleamynode.net/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 293 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20100629/beea760f/attachment.bin 


More information about the netty-users mailing list