Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi everyone,

I've connected to a site's main server using secure sockets layer in C#. I need to make a tcp connection to another machine on this site and exchange info. I can't connect my socket directly to that machine because its ip address is private ie. 192.168.1.1. All the information from the second machine must pass through the secure socket I've created with the original connection.

Does anyone know how I can access the second machine?

I've gone through the socket classes in the .net framework and can't seem to find anything that can make the second connection and pipe it through the first. I'm not a network programmer so I don't know if there is another way to do this. Any thoughts would be appreciated!

thanks

M :)

  • 4 weeks later...
Posted
Is the second computer behind a hardware router? If so, in the routers configuration utlility you can forward a specific port number to that computers IP (if it is static) and make a secure socket connection via the port you specify.

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...