bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tcp example


From: Lucas Galete
Subject: tcp example
Date: Fri, 23 May 2008 17:22:55 -0300

Hi,
 does anyone know why this [1] example don't compile ?
I've tried on Ubuntu 8.04 and Mac Os X. Seens there's a problem with tcpstream class.

Sory for asking in the wrong place, but I couldn't find help anywhere.

thanks in advance.


[1] 
http://www.gnu.org/software/commoncpp/docs/refman/html/tcpstr1_8cpp-example.html

---

$ g++ main.cpp -lgnucpp2 -I /opt/local/include/ -L /opt/local/lib
main.cpp: In member function ‘virtual void ThreadOut::run()’:
main.cpp:20: error: ‘tcpstream’ was not declared in this scope
main.cpp:20: error: expected `;' before ‘tcp’
main.cpp:21: error: ‘tcp’ was not declared in this scope
main.cpp: In function ‘int main(int, char**)’:
main.cpp:36: error: ‘tcpstream’ was not declared in this scope
main.cpp:36: error: expected `;' before ‘tcp’
main.cpp:37: error: ‘tcp’ was not declared in this scope






reply via email to

[Prev in Thread] Current Thread [Next in Thread]