LennartHennigs / ESPTelnet

ESP library that allows you to setup a telnet server for debugging.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose TCPClient

rcmontrose opened this issue · comments

I would like to suggest an enhancement to declare the TCPClient public (it's currently protected) or provide an accessor method. I need direct access to the TCPClient to implement a custom print for the Telnet client (it expands newlines to return, newline). I'm currently moving the declaration in ESPTelnetBase.h for the client from protected to public.

Hey @rcmontrose,
the base class in the branch 57-expose-tcpclient now has a public getClient()function.
Please give it a try.