
Just started using Boost. Socket only right now. Created one small class but cannot compile. Please help. Compile error is
In file included from Server.cpp:8:
./include/Server.h:26: error: ‘io_service’ is not a type
./include/Server.h:26: error: expected unqualified-id before ‘(’ token
./include/Server.h:26: error: expected `)' before ‘(’ token
./include/Server.h:26: error: expected ‘,’ or ‘...’ before ‘(’ token
./include/Server.h:26: error: expected ‘;’ before ‘)’ token
./include/Server.h:27: error: ‘io_service’ is not a type
----- My header file:
/*
* Server.h
*
* Created on: Dec 1, 2008
* Author:
*/
#ifndef SERVER_H_
#define SERVER_H_
#include