473,320 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

have computers talk when nat is involved

Hi. I have been trying to figure this out but I just can't get it. In many
places I have read that I cannot communicate between two programs that are
both behind firewalls using nat. So the solution is to use a middle server.
However, I cannot find details and code of how to do this. A few specific
questions about this:

1. What information does the middle server collect exactly and how does it
collect it? If I am - say sending a file from one client to another - do I
have to send the entire file through the middle server first and then have
the middle server send it to the client? If so, how could the middle server
connect to the second client to send the file - would the second client have
to connect at an earlier point and then keep the connection open until the
middle server is ready to send files?

2. Should you have each client ask the middle server for the ip address of
the other clients? (thus letting me use those ip addresses to then have the
2 clients establish a direct connection. Is this possible? If so, how does
the client send the "correct" address to the middle serverso I can tell the
second client to establish a connection. I should mention that I am hoping
to do this using C#, .NET Framework 1.1 and if possible the TcpClient and
TcpListener classes. I am familier with sockets and would rather use sockets
classes. I am not familiar with .net remoting. However if this can be done
with remoting, I would be glad to use that.

Thanks very much for any help!

Ritz
Nov 16 '05 #1
0 740

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Felicia Greene | last post by:
----B458F236ED34C2840E6 Content-Type: text/html; charset="iso-6AD1-A" Content-Transfer-Encoding: quoted-printable <HTML><HEAD><TITLE>blochfeel you got ripped off in university? What? no di=...
19
by: zzw8206262001 | last post by:
Hi,I find a way to make javescript more like c++ or pyhon There is the sample code: function Father(self) //every contructor may have "self" argument { self=self?self:this; ...
1
by: theShmit | last post by:
I am having a problem where some computers don’t recognize external references. I am writing a program in VB that uses a .DLL to communicate with some RF (radio frequency) testing equipment; and...
17
by: John Salerno | last post by:
Let me see if this question even makes sense...I'm reading Core Python Programming and I jumped ahead to the more specific topics like network programming. I plan to follow along with the example...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.