bigfoot3d
Well-known member
The idea is in my head and so is the implementation, but not the syntax
This is what I am trying to do:
There are 3 Parts: Client A, Client B, and the Server
Client A and Client B are both connected to the Server.
Client A is trying to send a picture to Client B through the Server.
Client A and Client B are both behind separate firewalls, so there is no way to directly connect Client A to Client B except through the Server.
What would be the quickest way I would go about doing this.
I do not want to send the entire image to the Server and then the Server send it out. This is just wasting time, especially with larger images. I am trying to figure out how the Server would write the data from Client B as it is read from Client A.
I don't think there is a way to directly connect the sending stream from Client A to Client B in the Server, or is there?
If that is not possible, then how would I go about writing the data to Client B from the Server as it is being received from Client A?
Any thoughts, insights, or examples
This is what I am trying to do:
There are 3 Parts: Client A, Client B, and the Server
Client A and Client B are both connected to the Server.
Client A is trying to send a picture to Client B through the Server.
Client A and Client B are both behind separate firewalls, so there is no way to directly connect Client A to Client B except through the Server.
What would be the quickest way I would go about doing this.
I do not want to send the entire image to the Server and then the Server send it out. This is just wasting time, especially with larger images. I am trying to figure out how the Server would write the data from Client B as it is read from Client A.
I don't think there is a way to directly connect the sending stream from Client A to Client B in the Server, or is there?
If that is not possible, then how would I go about writing the data to Client B from the Server as it is being received from Client A?
Any thoughts, insights, or examples