17 .6 realizes distributed computation
Last when make up in this in,The distributed computation that we will realize PowerBuilder in network environment.In our program test room,Have two machines,They run Win95.As client computer,One serves as a server.If the condition allows,The machine that recommends better with a function moving NT serves as a server,Such meetings run the ground betterer.
Open resource management implement,The Server dot EXE that it already succeeded via compiling duplicates in a machine that the name is Mohair,Will move over rise.The server that it is us.Next,We still need to change a client to carry a program.Clients application is opened in Library palette,Click incident to edit pushbutton next.In on one stand-alone test,We are temporary the setting of Location of network machine position Connection object Myconnect is this machine Local Host,Set it now for real network machine name Mohair.Save what what make to it to revise.
Run this program,Press ” Discount ” ,The procedure is correct return of value 0.9.It is again in that one machine that the name is Mohair,Shutdown serves a process,Press again ” Discount ” ,Information of mistake of link of systematic report network.
In moving actually,You are likely so won’t successful,The program that the test involves network news report wants difficult land relatively a few.Here face,You can eliminate an error by the following measure:The first,Whether was the physical link that checks a network connected really,Can use ” network neighbour ” check;Next,Whether did the examination install TCP/IP agreement,If you are used, is WinSock,This agreement is must;Next,The attribute of a few is worth examination network,For instance,Below certain environment,The IP address that the system asks the machine has to secure,Trends allocation may be invalid.The result that the network logs onto means to also may affect a program to move.