Relative Content

Tag Archive for c#socketsssltcplistener

TCP proxy with reading payload

I want to implement a proxy that forwards a TCP (SSL) connection to the correct server, therefore I need to read the first packet. In generell it seems to work, but the problem is, when I read the data with the SslStream, I can not forward it anymore as plain data, as the network stream is alerad read.