#include "amma/SocketsC.hh" #include "amma/BinStream.hh" #include "amma/Date.hh" int main(void) { int t; SocketsC mySocket("localhost",2012); BinIStreamC in(IStreamC(mySocket.Getfd(),FALSE)); for(int i=0; i<1000; i++) { in >> t; cerr << hex << t << endl; } mySocket.Close(); }