
17 Aug
2007
17 Aug
'07
7:35 a.m.
Fei Liu
//if(initialized_) serverlet_type(newsockfd, obj); <---- causes error
and here:
typedef void (*serverlet_type)(int, shared_obj_type);
You are trying to construct a "servlet_type" (which is a function pointer) with two parameters --- that's not going to work. I guess that the "_type" part in the function call above is actually a typo. Anthony -- Anthony Williams Just Software Solutions Ltd - http://www.justsoftwaresolutions.co.uk Registered in England, Company Number 5478976. Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL