byte communication using tcp client
이희승 (Trustin Lee)
trustin at gmail.com
Thu Jan 27 21:22:52 EST 2011
The protocol looks like an ASCII text line protocol. I'd suggest you to refer to the telnet example as a starting point.
--
Trustin Lee, http://gleamynode.net/
Sent from a mobile device. Please excuse my brevity.
"Rajiv Kumar A.P" <rajivharris at gmail.com> wrote:
Hi Christian,
The transmission of data between DAC and client application is using tcp. So thought of using netty for that.
Thanks,
Rajiv.
On Thu, Jan 27, 2011 at 2:38 AM, Christian Migowski <chrismfwrd at gmail.com> wrote:
Hi Rajiv,
if these DAC are not accessible via a network interface and the wire
protocol you're describing isn't acting on top of TCP or UDP, there is
no support for that in "out-of-the-box" Netty. You can, of course,
implement access to that controllers as a "transport" in Netty and
after that utilize Nettys good API and (possibly) benefit from
exchangeable transports of your protocol.
hth,
regards,
christian!
On Wed, Jan 26, 2011 at 10:38 PM, nettyCoder <rajivharris at gmail.com> wrote:
>
> Hi Trustin,
> Thanks for the reply. The wirelink protocol is used to communicate with
> Digital Addressable controller.The DAC receives and transmits all
> information over the WireLink in packets. The binary data is encoded into
> printable ASCII characters for transmission.
>
> The protocol looks like below
> STX+Packet Header (Packet Size)+ Packet Data+Checksum+CR
>
> Thanks,
> Rajiv.
>
>
> On Wed, Jan 26, 2011 at 10:28 AM, Trustin Lee [via Netty Forums and Mailing
> Lists] <ml-node+5963272-739515670-314896 at n2.nabble.com<ml-node%2B5963272-739515670-314896 at n2.nabble.com>
>> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> IIUC, you are implementing a binary protocol. I think the factorial example
>> is a good place to start. I could give you more advise if you coukd
>> describe what the protocol exactly looks like.
>>
>> "nettyCoder" <[hidden email]<http://user/SendEmail.jtp?type=node&node=5963272&i=0>>
>> wrote:
>>
>> >
>> >Hi,
>> >I am new to the netty framework. am trying to develop a application
>> >which
>> >communicates to DAC using wire link protocol.
>> >the application will take commands and do a socket communication with
>> >DAC.
>> >the data transferred will be in bytes. need some example to startwith
>> >along
>> >with good practices.
>> >
>> >Appreciate your help.
>> >
>> >Thanks,
>> >Rajiv.
>> >--
>> >View this message in context:
>> >
>> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5960865.html<http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5960865.html?by-user=t>
>> >Sent from the Netty User Group mailing list archive at Nabble.com.
>> >_______________________________________________
>> >netty-users mailing list
>> >[hidden email] <http://user/SendEmail.jtp?type=node&node=5963272&i=1>
>> >https://lists.jboss.org/mailman/listinfo/netty-users
>>
>> - --
>> Trustin Lee, http://gleamynode.net/
>> Sent from a mobile device. Please excuse my brevity.
>> -----BEGIN PGP SIGNATURE-----
>> Version: APG v1.0.8
>>
>> iIkEAREIADEFAk1ASycqHFRydXN0aW4gSGV1aXNldW5nIExlZSA8dHJ1c3RpbkBn
>> bWFpbC5jb20+AAoJEJb7nbIZ8zONhVwA/R++c8NmyeDe0mVDwcUNWDFdmal9BVsJ
>> grr1HvrFr+4UAP99+nBkzJNViYEKHcvGVxorke2S6trIQycv1DaTtcsj1Q==
>> =lYOB
>> -----END PGP SIGNATURE-----
>>
>>
>> _______________________________________________
>> netty-users mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=5963272&i=2>
>> https://lists.jboss.org/mailman/listinfo/netty-users
>> what we call human nature in actuality is human habit
>> http://gleamynode.net/
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5963272.html
>> To unsubscribe from byte communication using tcp client, click here<http://netty-forums-and-mailing-lists.685743.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5960865&code=cmFqaXZoYXJyaXNAZ21haWwuY29tfDU5NjA4NjV8LTE5MDg4NTcwNTY=>.
>>
>>
>
>
>
> --
> Regards,
> Rajiv
>
> --
> View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/byte-communication-using-tcp-client-tp5960865p5964293.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
_______________________________________________
netty-users mailing list
netty-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/netty-users
--
Regards,
Rajiv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20110128/33443376/attachment.html
More information about the netty-users
mailing list