44#if defined(_MSC_VER) || defined(__MINGW32__)
73 FGfdmSocket(
const std::string& address,
int port,
int protocol,
int precision = 7);
74 FGfdmSocket(
int port,
int protocol,
int precision = 7);
77 void Send(
const char *data,
int length);
80 int Reply(
const std::string& text);
86 void Clear(
const std::string& s);
94#if defined(_MSC_VER) || defined(__MINGW32__)
102 struct sockaddr_in scktName;
103 struct hostent *host;
104 std::ostringstream buffer;
107 void Debug(
int from);
FGJSBBase()
Constructor for FGJSBBase.
int Reply(const std::string &text)
void Append(const std::string &s)
bool GetConnectStatus(void)
void WaitUntilReadable(void)
FGfdmSocket(const std::string &address, int port, int protocol, int precision=7)
void Clear(const std::string &s)
std::string Receive(void)