Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello

I have a problem in connection between server and client using TCP/IP. Point is that i must use Ip adress to open connection but client is located in a local network which have proxy server. So Server cann't reply because I know only Client's local IP address .

So how i can resolve this problem?

Rull

Posted

I'm trying to create Client and Server application myself.

I know only Socket based method of data exchange in a network.

I don't know any other method.

If it is possible please write me how to work with any other protocol which can resolve this problem

Posted
Maybe it is not easy but a many program support this (for example ICQ, different internet games) and i think that there is not very hard method to connect
  • Administrators
Posted

Have you tried running ICQ from behind a firewall? Most games will require the firewall to have specific ports opened to allow this. IF the only connection to the internet is a Web Proxy ICQ, IRC, and just about every game will fail to connect.

Who installed / manages the proxy on the network?

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

OK. Assume that we configured proxy and it have opened port. How I can Send message to client in local network. For example

we have server at http://www.server.com and there is one client in local network with ip 192.168.1.11 and the proxy adress is 77.66.44.55 . So can I send smth to this client?

  • Administrators
Posted (edited)

If the client and server are both on the same network then then you should be able to communicate via sockets without any problems.

If the firewall supports NAT then it should work without any code changes.

 

If you are using HTTP requests search in the help for the WebProxy class - this will make things pretty easy.

 

If the proxy is either SOCKS 4 or SOCKS 5 then I suggest having a look at http://www.mentalis.org/soft/class.qpx?id=9 as they have a nice SOCKS class you can use.

Edited by PlausiblyDamp

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

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...