Web interface

"Willian Filus" <[email protected]> Thu, 21 Apr 2005 16:31:15 -0300
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
Hello,

 

I try to create a network server using web-interface, but I not obtain
success, this error 

 

Cannot create socket: No error

error: network error for NetworkServer (01999EE0) listening on port 5555

 

and I try open in web browser, but not obtain success too, you can explain
how function it ?, you can give an example. I read the manual but I not
understand this part.

 

I try change the color of balls invoking the cor method in web browser.

 

 

@include "Mobile.tz"

@include "Control.tz"

@include "NetworkServer.tz"

 

Controller Main.

 

Control : Main{

            + variables:

                        ball2 (object).

                        ball3 (object).

                    net (object).

                                   

            + to init:

                        ball2 = new Balls.

                        ball3 = new Balls.

                        

                        ball2 move to (2.0,0.5,0.0).

 

                        net = new NetworkServer.

                        net listen on-port 5555.

 

            + to cor on item(object):

                        item set-color to (1,0,0).

            

            + to teste:

                        print "Teste".

            

                        

 

 

            

 

}

 

Mobile: Ball (aka Balls) {

            + to init:

                        self set-shape to (new Sphere init-with radius .3).

                        self set-color to (0.0,0.0,1.0).

 

            

            

}

 

Thanks for your help,

 

Willian

_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve