Hi Wilfried,
I have already looked at the SocketSpy example once, but this time I got it to work, Thanks :) But I got one last problem, that I am not sure can be solved at all ? The PC2 webserver is listening (OK) The PC2 TWSocketLocal can connect to the PC2 Webserver (ok) The PC2 TWSocketExt can connect to PC1 TWSocketServerExt (ok) The PC2 TCP bridge is working both ways (ok) (I see the right traffic flowing both ways) The PC1 TWSocketServerExt is listening (OK) The PC1 TWSocketServerLocal is listening (OK) The PC1 TCP bridge is working both ways (ok) (I see the right traffic flowing both ways) When I telnet to PC1:80 then everything seems to be okey traffic is flowing perferctly in both TCP bridges, but... surprise. When I use a webbrowser to connect to PC1:80, it creates multiply connections to PC1:80. (6 connections at the same time) >From my point of view, it would be impossible to bridge these (extra) >connections, because there will always only be ONE connection (PC2 TWSocketExt >connect to PC1 TWSocketServerExt) Is this an dead end, or can you see something that I can't ? I really spend many hours to get to this point. :( Dennis. -----Oprindelig meddelelse----- Fra: TWSocket [mailto:[email protected]] På vegne af [email protected] Sendt: 17. april 2016 13:00 Til: [email protected] Emne: TWSocket Digest, Vol 648, Issue 6 Send TWSocket mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of TWSocket digest..." Today's Topics: 1. Re: TCP Bridges. (Wilfried Mestdagh) ---------------------------------------------------------------------- Message: 1 Date: Sun, 17 Apr 2016 10:37:33 +0200 From: Wilfried Mestdagh <[email protected]> To: [email protected] Subject: Re: [twsocket] TCP Bridges. Message-ID: <[email protected]> Content-Type: text/plain; charset=windows-1252; format=flowed Hi, If I understand your question then you need a listening TCP server that connect to another TCP server and bridge all traffic between the 2 sessions. Use TWSocketServer for the listening part and when a client connect to it then create per client another session with TWSocket. You can use SocketSpy as an example how to do this: http://www.mestdagh.biz/index.html?redirTo=soft_frame_intro.html&redir2To=/soft_freeware.html Met vriendelijke groeten, Wilfried Mestdagh Op 15-04-16 om 16:15 schreef IT+NET - Dennis Siggaard: > Scenario: > > PC1: (IP: 192.168.1.100) > > Delphi application running 2 listenener at port 5555 and at port 80 > > Problem: Application set up a ICS both-way communication link between port 80 > and 5555. > > > > PC2: (IP: 192.168.1.200) > > Delphi application running a nons-ICS webservice listening at port 8888. > > Problem: Application makes a ICS connection to PC1 at port 5555 and after > that sets up a ICS both-way communication link between local port 8888 and > the connection to PC1. > > > > I want this result: At PC1: In a webbrowser, > http://127.0.0.1:80<http://127.0.0.1/> shows the Webservice of PC2 > port 8888 > > I know there are other and easier ways to do this, but I have to be exactly > as I have described. > > How can I make the two "bridges" with ICS and what components should I use ? > > Thanks. > ------------------------------ Subject: Digest Footer _______________________________________________ To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be ------------------------------ End of TWSocket Digest, Vol 648, Issue 6 **************************************** -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
