I am trying to compile the example code located here libs/beast/example/http/server/small/http_server_small.cpp - 1.70.0 but I am getting an error right out of the box that I am unsure how to fix.
...
Type: Posts; User: EverydayDiesel
I am trying to compile the example code located here libs/beast/example/http/server/small/http_server_small.cpp - 1.70.0 but I am getting an error right out of the box that I am unsure how to fix.
...
so the data comes to me as "2019-05-16T09:30:00-04:00" and i can make it "2019-05-16T09:30:00-0400" but I am still lost on how to convert it to my current timezone
const char *time_details...
2019-05-16T09:30:00-04:00 to my understanding is in the RFC 822/ISO 8601 standard
ISO 8601 - Wikipedia
A single point in time can be represented by concatenating a complete date expression, the...
I seem to be going in circles here and I would greatly appreciate any help I can get.
I have a date that comes in as "2019-05-16T09:30:00-04:00" as an example. (I wont know the timezone in...
Hello,
I need to convert a string into a large number (I am using double because it has to have decimal places)
double ConvertStringToDouble(string s)
{
try
{
So I have been working on this and I am at a point now where maybe you guys can help me.
Essentially what I would like it to do is return a variable that, for this purpose, contains 'hello...
Thank both of you for your responses! I will look into it! Thanks again
Hello,
I want to write a console application that
1. has a http server (listener) that can receive data
2. take that data and push it to several nodes
3. every 10 minutes call an external...
do they not do the same thing? sorry for the dumb question, I am just trying to learn.
thanks for helping me, it was a boost version mis-match
have a good day!
thank you for taking the time to reply.
I think I got it converted? But why am I getting the three errors?
// CServer.h
#ifndef CSERVER_H
#define CSERVER_H
Hello and thank you for reading. To be honest I have never seen a constructor like this (with a colon)
#ifndef CSERVER_H
#define CSERVER_H
#include <iostream>
#include <boost/bind.hpp>
Thank you for the replys, I dont know if it is the lack of sleep or what but it still prints garbage
string get_md5_sum(unsigned char* md)
{
stringstream ss;
for(int i = 0; i...
Hello
I have a procedure that gets an md5sum result and prints it out to console. How can I get the results into a string?
This is what I am looking for
thanks for the reply, yes i do have root
Hello,
I have a linux pc that will run a console terminal (3rd party app) that I want to monitor the output of and alert me of certain conditions.
Is there a way to get the output of the...
the above can be fixed by changing sleep(1000) to sleep(1)
can you tell me why this does not count like I was expecting it to?
using boost::asio::ip::tcp;
Hello,
I am trying to write a gui application that is threaded and I am trying to write a tcp listner. I want the tcp listner to run on a different thread but I am having some trouble.
For...
is there a better alternative to getting the char* to a string?
They used this (which is great for writing out to the console but I need it in a string variable)
cout.write(reply,...
Thank you! strlen worked for fixing the size.
I cant thank you enough for your help!
Thank you for the reply. I have been trying to get this to work but so far I cannot.
No matter what I do, the same amount of bytes is returned back to the client as was originally read. What...
Hello,
I have a client /server example that I am trying to modify. The client will send a message to the server and then echo it back to the client.
I want to append a string to the message...
THANK YOU very much!!!
Hello I took the code from sysinfo(2) - Linux manual page and I have made no modifications but I am getting this error
error: invalid conversion from ‘void*’ to ‘rtnl_link_stats*’...