websocket client in java?
"이희승 (Trustin Lee)"
trustin at gmail.com
Tue Jun 29 22:42:25 EDT 2010
I realized that there is one:
http://github.com/cgbystrom/netty-tools
I'm not sure it supports draft 76 though. It shouldn't be difficult to
upgrade to 76 anyway.
HTH,
Trustin
On 06/29/2010 03:53 PM, "이희승 (Trustin Lee)" wrote:
> 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/20100630/06f0195e/attachment.bin
More information about the netty-users
mailing list