Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi, can you teach me how to make it work on cpoll_cppsp? #1

Open
hwongcom opened this issue Dec 26, 2014 · 2 comments
Open

Hi, can you teach me how to make it work on cpoll_cppsp? #1

hwongcom opened this issue Dec 26, 2014 · 2 comments

Comments

@hwongcom
Copy link

Would like to make it work on http://sourceforge.net/projects/cpollcppsp/

Can you please provide the instructions on how to get it done for the latest 1.0 version? Thanks

@VictorTrapenok
Copy link
Owner

I had not worked with cpoll_cppsp. But I would be interested to learn it. If I can, then give instructions.

@VictorTrapenok
Copy link
Owner

This is my file index.cppsp. On my computer it works.

<%#
#include < iostream>
#include < unistd.h>
#include < sys/types.h>
#include < stdexcept>
#include < cppsp/common.H>
#include < delegate.H>
#include < iostream>
#include < iostream>

#include "SimpleRedisClient.h"
#include "SimpleRedisClient.cpp"

void init() {
doReadPost=true;
}

SimpleRedisClient rc;
rc.setHost("127.0.0.1");
rc = "cppspKEY cppspTest";

rc.get("cppspKEY");

%>

redis['cppspKEY]'= <%=rc.getData()%>

<%
rc.redis_close();
%>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant