AdamGreenough 0 Posted July 21, 2010 Hey Guys, Quick question.. I am connecting two computers over the internet, computer 'A' would listen and computer 'B' would connect to it. Can computer 'B' use TCPRecv and receive data from computer 'A' on the Connected socket or would we have to do a side by side relay and make both of them listen and both of them connect to one another and receiving data locally? Thanks in Advance Share this post Link to post Share on other sites
PsaltyDS 39 Posted July 21, 2010 (edited) Both computers would be both Server and Client. The two connections, one in each direction, are separate. Edited July 21, 2010 by PsaltyDS Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Share this post Link to post Share on other sites
ALTIN 0 Posted July 21, 2010 (edited) I was creating a simple chat application some times ago but I left it in the middle... however I'll return to it someday! The concept here is that you will use the same script in both computers. This script will have both, the Receiver function and the Sender function. -When you start you application on (A), it will try to connect to (B ) and if it can't, then it will stay listening in a certain port... -The same way, you start now the program on (B ) and it will try to connect, and since (A) is already listening, it will connect! Hope this helps you clarifying regards Edited July 21, 2010 by ALTIN Share this post Link to post Share on other sites
AdamGreenough 0 Posted July 23, 2010 @ALTIN, Yes this helps very much but what about the port forwarding feature.. wouldnt you have to port forward both computers? im thinking more something along the lines like what AVG does, im sure not every software that connected to a remote server has to have a port forwarded does it? or would it be using the standard internet port 80 which always seems to be routed Share this post Link to post Share on other sites