telnet and D

1100110 0b1100110 at gmail.com
Mon Nov 26 16:55:23 PST 2012


On 11/26/2012 04:58 PM, maarten van damme wrote:
> I was wondering if there ever was a telnet library written for D? I've
> been unable to find anything. I also tried using curl but the timeout
> options seem to fail here. I've tried writing a minimalistic client
> myself but the library will be used to connect to some routers and
> either something is wrong in my option negotiation or that router
> doesn't support the full telnet protocol.
>
> I can't use socketstreams because it strangely counts "255" as a
> newline and I'm afraid it'll mess things up when I try to send
> different data and socketstream is going to be deprecated...

Have you taken a look at vibe.d? http://vibed.org

IIRC, telnet is simple, so it shouldn't be too difficult..


More information about the Digitalmars-d-learn mailing list