tcp_server_LDADD = \
libsgio.a \
+ $(top_builddir)/simgear/structure/libsgstructure.a \
$(top_builddir)/simgear/debug/libsgdebug.a \
$(top_builddir)/simgear/bucket/libsgbucket.a \
$(top_builddir)/simgear/misc/libsgmisc.a \
tcp_client_LDADD = \
libsgio.a \
+ $(top_builddir)/simgear/structure/libsgstructure.a \
$(top_builddir)/simgear/debug/libsgdebug.a \
$(top_builddir)/simgear/bucket/libsgbucket.a \
$(top_builddir)/simgear/misc/libsgmisc.a \
socktest_LDADD = \
libsgio.a \
+ $(top_builddir)/simgear/structure/libsgstructure.a \
$(top_builddir)/simgear/debug/libsgdebug.a \
$(top_builddir)/simgear/bucket/libsgbucket.a \
$(top_builddir)/simgear/misc/libsgmisc.a \
lowtest_LDADD = \
libsgio.a \
+ $(top_builddir)/simgear/structure/libsgstructure.a \
$(top_builddir)/simgear/debug/libsgdebug.a \
$(top_builddir)/simgear/bucket/libsgbucket.a \
$(top_builddir)/simgear/misc/libsgmisc.a \
#include "sg_socket_udp.hxx"
+#include <cstring>
+#include <cstdlib> // for atoi
SGSocketUDP::SGSocketUDP( const string& host, const string& port ) :
hostname(host),