[Plib-users] Network
Brought to you by:
sjbaker
|
From: Michael W. <michael.wessels@z.zgs.de> - 2002-02-10 17:12:00
|
Hi all, I want to make my Flight-Dynamic-Simulator usable as multiplayer. I am a novice in network programming. Therefore I started with the example 'http_get' in plib/net. It runs well with connecting to 'www.opengl.org' and getting the file 'index.html'. I changed the programm with the line new HTTPClient( "www.flight-dynamic-simulator.de","/index.html" ); Now I got the following on the screen: WSAGetLastError() =3D> 10035 HTTP/1.1 404 Not Found Date: Sun, 10 Feb 2002 16:36:59 GMT Server: Apache/1.3.22 (Unix) Connection: close Content-Type: text/html; charset=3Diso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>404 Not Found</TITLE> </HEAD><BODY> >H1>Not Found</H1> The requested URL /index.html was not found on this server.<P> <P>Additionally,a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. </BODY></HTML> Who has an idea, what is wrong? Michael P.S. This is the contenet of index.html: <html> <head> <title>Flight Dynamic Simulator</title> <meta name=3D"description" content=3D"FDS is the simulation of the realis= tic dynamic behaviour of an aircraft. FDS includes . calculation of the aerodynamic forces for the aircraft parts (wing, fuselage, rudder, elevator, landing gears, etc.) with analytic equations and parameters from wind tunnel experiments, =B7 calculation of the propeller thrust with analytic equations, =B7 calculation of the jet engine thrust with solving the gas turbine process with/without bypass and with/without afterburner, =B7 calculation of the gear forces as a spring/damper system and of the wheel forces with analytic equations, =B7 configuration of the aircraft parameters in a user friendless GUI (Graphical User Interface) "> <meta name=3D"keywords" content=3D"Flight,Simulation,Air,Race,Aircraft,Design,Scenery,PC,Remote,C= ontrol,Pilot,RC,OpenGL,OpenAL,Plib,A340,HB207Alfa,F16,Ta-152,T6Texan,C172= "> <meta name=3D"author" content=3D"Michael Wessels"> <meta name=3D"DC.Identifier" content=3D"http://www.flight-dynamic-simulator.de/"></head> <frameset rows=3D"22%,*%"> <frame src=3D"headline.html" name=3D"Head"> <frame src=3D"home.html" name=3D"Work"> <!--<frame src=3D"feetline.html" name=3D"Feet">--> </frameset> <noframes> Ihr Browser unterst=FCtzt keine Frames! </noframes> </body> </html> |