Opened 6 years ago

Last modified 6 years ago

#12607 new Bugs

boost telnet client

Reported by: Oleg Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.62.0 Severity: Problem
Keywords: Cc:

Description

I'm using code from boost::asio telnet example without modification. Boost ver: 1.62.

I need this telnet client to interact with memcached server. I use memcached-1.4.5-x86 and also Couchbase.

When I try to get or delete key via application based on boost's code everything is ok. But when I try to use set - something goes wrong and both memcached servers behaves in similar way. Example input, first line: "set key 0 0 3",second line "XYZ". And "STORED" output is expected - instead of this nothing happens, and read methods of telnet_client is not invoked... if I press Enter one more time or add spaces - then "CLIENT_ERROR bad data chunk" will be outputted. Please help to solve this issue, I'm very newb to Sockets and boost::asio, I'm reading manuals, but issue is very urgent. Thank you for your attention.

Attachments (1)

boosticket.txt (302 bytes ) - added by tutnedaleko@… 6 years ago.
links to boost example ".cpp", memcached and CouchBase

Download all attachments as: .zip

Change History (3)

by tutnedaleko@…, 6 years ago

Attachment: boosticket.txt added

links to boost example ".cpp", memcached and CouchBase

comment:1 by anonymous, 6 years ago

Please check attachment txt file in order to get links to boost example, memcached download link that I used, CouchBase Download Page.

comment:2 by anonymous, 6 years ago

Please close this ticket - everything works fine. It was my mistake! Thank you very much for boost!

Note: See TracTickets for help on using tickets.