Thread: viznet bug
View Single Post
  #1  
Old 02-03-2009, 02:29 PM
smith11235 smith11235 is offline
Member
 
Join Date: Jul 2008
Posts: 8
viznet bug

I may be wrong, but when trying to set up a client server following the example given in the VizHelp, Networking Reference, Multi User Environment script, the clean connect function they give for the client:
Code:
SERVER_NAME=viz.input('Enter Server Name')
while not viznet.client.connect(SERVER_NAME,port_in=14951,port_out=14950):
    if viz.ask('Could not connect to ' + SERVER_NAME + ' would you like to try another?'):
        SERVER_NAME=viz.input('Enter Server Name')
    else:
        viz.quit()
        break
Does Not work.

The viznet.client.connect function just returns True whether or not there is a server even running. If someone has a solution to this please let me know.

Thank you
Reply With Quote