X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fio%2Fsg_netChannel.hxx;h=0ccc8607a7ba259ca03f968b2eeccc1eef2a107b;hb=bc9b3f6ff1fcc5caa67c07ad99f971c0faacf91a;hp=30af51226fe4d49832d7fe36bbd5e030cb8949e0;hpb=f18a9493b3a067ae56cb350cd6a390649ba6b35d;p=simgear.git diff --git a/simgear/io/sg_netChannel.hxx b/simgear/io/sg_netChannel.hxx index 30af5122..0ccc8607 100644 --- a/simgear/io/sg_netChannel.hxx +++ b/simgear/io/sg_netChannel.hxx @@ -54,14 +54,17 @@ #define SG_NET_CHANNEL_H #include +#include namespace simgear { class NetChannel : public Socket { - bool closed, connected, accepting, write_blocked, should_delete ; + bool closed, connected, accepting, write_blocked, should_delete, resolving_host ; NetChannel* next_channel ; + std::string host; + int port; friend bool netPoll (unsigned int timeout); @@ -96,6 +99,7 @@ public: void handleReadEvent (void); void handleWriteEvent (void); + int handleResolve (void); // These are meant to be overridden. virtual void handleClose (void) {