Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 02-20-2006
hero107 hero107 is offline
Registered User
 
 
Join Date: Feb 2006
Posts: 10
problem with server connect client(in a private network)

In the same network,i can make a server to callback on the client.so what about different network?
Server host is in a public network with the ip address 202.103.11.12,
client host is in a private network with the ip address 192.168.1.168.
Client host can connect server host via a router,the lan port ip of the router is 192.168.1.1 and the wan port ip is 202.103.11.11.
First ,client host obtain the proxy of the server object to connect server host ,the server host receive the ip address of the client is 192.168.1.168,but server host ip 202.103.11.12 is can not connect the client host ip 192.168.1.168.because a router isolate them.
Now,how do i make server host to callback on the client host? Can i use ice resolve this problem?
appreciate your help.

Name:YuQiao
the university of wuhan in china

Project:working with VC++6.0 and I will use Ice to comunicate with a server.The project is a management software 0f terminal resource;
http://www.whu.edu.cn
__________________
Name:YuQiao
the university of wuhan in china

Project:working with VC++6.0 and I will use Ice to comunicate with a server.The project is a management software 0f terminal resource;
http://www.whu.edu.cn
Reply With Quote
  #2 (permalink)  
Old 02-20-2006
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
You can either use a bidir connection from the client (private network) to the server (public network) so that the server talks over the same connection the client, or you can poke a hole in the firewall and forward this port to the server in the private network. If you go for the latter approach you need to set the property <name>.PublishedEndpoints property to point at the firewall. You can find some information on this in the Ice manual, and in issue 2 & 3 of Connections (http://www.zeroc.com/newsletter).
Reply With Quote
  #3 (permalink)  
Old 02-20-2006
hero107 hero107 is offline
Registered User
 
 
Join Date: Feb 2006
Posts: 10
What is a bidir connection?hardware?

You can either use a bidir connection from the client (private network) to the server (public network) so that the server talks over the same connection the client.
pls go into particular.
Thanks
__________________
Name:YuQiao
the university of wuhan in china

Project:working with VC++6.0 and I will use Ice to comunicate with a server.The project is a management software 0f terminal resource;
http://www.whu.edu.cn
Reply With Quote
  #4 (permalink)  
Old 02-20-2006
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
If you have specific questions about bidir then I would happy to answer them. For details on bidirectional connections you should read the Ice manual. You may also want to check out demo/Ice/bidir. For details on Glacier2 you can also read the Ice manual, or the articles I wrote in Connections.
Reply With Quote
  #5 (permalink)  
Old 02-21-2006
hero107 hero107 is offline
Registered User
 
 
Join Date: Feb 2006
Posts: 10
Thumbs up thank you very much

I am very happy to tell you that my trouble have been resolved
__________________
Name:YuQiao
the university of wuhan in china

Project:working with VC++6.0 and I will use Ice to comunicate with a server.The project is a management software 0f terminal resource;
http://www.whu.edu.cn
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
No problem in Vc7.0 client and Vc7.0 Server zhoubin Help Center 0 11-24-2006 03:27 AM
about connect with private net,Get DNSException err richard Help Center 2 10-23-2006 02:47 AM
Question about client connecting with the server that is on deferent network sections WangChen Help Center 3 10-12-2006 03:54 AM
problem with server connect client hero107 Help Center 3 02-20-2006 08:01 AM
How Ice client connect to the Internet through proxy server? xiehua Help Center 4 02-28-2004 02:40 AM


All times are GMT -4. The time now is 09:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.