WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 23 votes, 5.00 average. Display Modes
  #1  
Old 05-05-2007, 06:03 PM
pattie pattie is offline
Member
 
Join Date: Aug 2006
Posts: 32
Client Server Networking Problem

Hi guys:

I have been playing around with the client server example.
I have been experiencing a problem for a few days now:

I am using the server script and two clients to connect to the server.

Every time a client connects to the server, the server correctly receives the UPDATE event but the connected clients never receive it, therefore the client's update() function is never called and the client never sees the other connected clients. I do not understand why:
- the client to server communication works fine;
- the server to client communication does not work;
- the client to client communication does not work (viznet.client.sendAll).

I have disabled any possible firewall or antivirus installed on the machines.

Am I doing something wrong?

Thanks
Patrick
Reply With Quote
  #2  
Old 05-07-2007, 09:30 AM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
Try pinging the server computer from the clients using the server's logical name. Vizard uses the computer's logical name to determan their IP address.
__________________
Paul Elliott
WorldViz LLC
Reply With Quote
  #3  
Old 05-07-2007, 10:48 AM
pattie pattie is offline
Member
 
Join Date: Aug 2006
Posts: 32
Client server Networking

Both clients can ping the server using either the IP address or the name
Reply With Quote
  #4  
Old 05-09-2007, 11:05 AM
pattie pattie is offline
Member
 
Join Date: Aug 2006
Posts: 32
Client Server networking problem

Hi guys:

I think you might want to take a look at the sendAll function. It looks like it does not send the events to the clients (server works fine).

Is it a bug in the client server code or did I forget something?

Patrick
Reply With Quote
  #5  
Old 05-09-2007, 11:52 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Are you using Vizard 2.5? Because the viznet module will only work with Vizard 3.0
Reply With Quote
  #6  
Old 05-10-2007, 12:41 PM
pattie pattie is offline
Member
 
Join Date: Aug 2006
Posts: 32
Cleint Server Networking problem

I am using the very last version on all machines
Reply With Quote
Reply

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:59 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC