Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - RomanVTEC

Pages: [1]
1
TLS / TCP Sockets / TCP Forwarder
« on: December 15, 2017, 02:33:30 AM »
Hi, i try to write TCP asynchronous forwarder with Chilkat.socket component.    My idea is simple. I want to listen on localhost TCP port and forward incoming packets to remote endpoint, incoming packet from remote endpoint forward back to localhost client. I try my code with service like RDP (TCP 3389), VNC (TCP 5900)

I have problem that my code sometimes works good, sometimes freeze, sometimes use too much CPU resources , sometimes asynchronous receive task return 0 bytes lenght etc.
Can you advise me what I'm doing wrong in my code ?

Pages: [1]