X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2Fjpg-httpd.hxx;h=e4fde9e9b9a835a026fd04446b32db7c69326d85;hb=dc76290d6e7d2f24d6c352d8f9da4b0f9f1e5f40;hp=1628dff7b43013710987a62157b581f6ba36cd7c;hpb=0bd6fa4bc0c886da6b5b3167333fbd28fbad622c;p=flightgear.git diff --git a/src/Network/jpg-httpd.hxx b/src/Network/jpg-httpd.hxx index 1628dff7b..e4fde9e9b 100644 --- a/src/Network/jpg-httpd.hxx +++ b/src/Network/jpg-httpd.hxx @@ -32,7 +32,7 @@ # include #endif -#include +#include #ifdef FG_JPEG_SERVER # include @@ -57,10 +57,10 @@ class trJpgFactory; /* simple httpd server that makes an hasty stab at following the http 1.1 rfc. */ -class HttpdImageChannel : public netChat +class HttpdImageChannel : public simgear::NetChat { - netBuffer buffer ; + simgear::NetBuffer buffer ; trJpgFactory *JpgFactory; public: @@ -89,12 +89,12 @@ public: }; -class HttpdImageServer : private netChannel +class HttpdImageServer : private simgear::NetChannel { virtual bool writable (void) { return false ; } virtual void handleAccept (void) { - netAddress addr ; + simgear::IPAddress addr ; int handle = accept ( &addr ) ; SG_LOG( SG_IO, SG_INFO, "Client " << addr.getHost() << ":" << addr.getPort() << " connected" );