Callisto82 / tftp.net

Implements the TFTP (Trivial File Transfer) protocol (client/server) in an easy-to-use C#/.NET library.
Microsoft Public License
80 stars 38 forks source link

Enabled better control of the transport layer #29

Open robeving opened 3 years ago

robeving commented 3 years ago

I have a problem, tftp.net as it stands does not allow me the control I need over the transport layer. This PR fixes this by providing a factory in the tftpserver constructor.

Callisto82 commented 3 years ago

What kind of control are you trying to get over the transport layer?

robeving commented 3 years ago

I have my own implementation that creates socket/tcpclients. I use this to have diagnostics and management of the clients that arrive. Being able to pass in say a TcpClient is pretty important to me.

I've been running with my changes for quite a while and they seem to work well.