Questions tagged [mongoose-web-server]

Mongoose embeddable web server

Mongoose is a lightweight embedded web server that makes it easy to implement a web interface for an application or an embedded device. It is cross-platform and supports CGI, SSL,SSI, Digest auth, WebDAV and websocket.

A question tagged with is expected to include queries regarding the Mongoose web server

Mongoose is licensed under the terms of GNU GPL v.2 license

Businesses have an option to get a non-restrictive, royalty-free license and professional support from Cesanta Software.


###Useful links


###Related tags

148 questions
0
votes
1 answer

Sending Image/File/Audio Files to Browser via websockets/http using mongoose

I am using Mongoose library to have a localhost server run in my system. Now, through HTTP Connection OR Websocket Connection, I want to send files/documents/images/small audio files to the client who is making request to the local host. Until now i…
swati
  • 129
  • 1
  • 18
0
votes
1 answer

Entry point function in Mongoose Web Server source code

I'm a web developer, trying to learn more about C programming. My C training is purely academic, so i thought i'd start with reading some source code on Github. My project of choice was https://github.com/cesanta/mongoose - Mongoose Web Server, as i…
0
votes
1 answer

Mongoose websocket won't run

I'm following Mongoose webserver on Github (https://github.com/cesanta/mongoose) and I want to test the websocket sample code. Here are the codes that I copied: Unfortunately when I run the code, it returns the following errors: websocket.obj :…
benjtupas
  • 610
  • 9
  • 25
0
votes
0 answers

How do I set a custom Content-Type in Mongoose

I am working with the Mongoose Embedded Web-server library and usually Mongoose internally takes care of sending the correct HTTP Header responses. But in my situation I need to send data with the Content-Type: header set to font/opentype however…
swati
  • 129
  • 1
  • 18
0
votes
1 answer

Mongoose Web Server HTTP Headers extremely slow

I have a mongoose server, with commands callable with AJAX. I get a CORS error if I call it without sending HTTP headers from mongoose (but visiting the address with the browser works just fine), but when I do send headers, it may take up to a…
Dirk
  • 2,094
  • 3
  • 25
  • 28
0
votes
2 answers

Implementing a Client using Mongoose with C++

I know how to implement a server with Mongoose, in fact all information that I could find was about servers, but I need to know how do I implement a client. Very basic, how to connect to a server is the main problem, the send functions are pretty…
DrStein
  • 75
  • 2
  • 13
0
votes
1 answer

How to import Mongoose to use json.parse()?

I really want to use this code to import json file to javascript var treeData; var oReq = new XMLHttpRequest(); oReq.onload = reqListener; oReq.open("get", "test.json", true); oReq.send(); function reqListener(e) { treeData =…
user3248233
  • 221
  • 1
  • 2
  • 5
0
votes
1 answer

Web Programming Pre - Fill A Form

I am very new to using both a server - side and client - side at the same time with web programming. I have a simple page with two text fields, one is called topTextField, the other bottomTextFeild, and a submit button called content. When I press…
0
votes
2 answers

Client Authentication or Mutual Authentication with Mongoose Web Server

Ok it is easy to setup mongoose web server with ssl support if mongoose is authenticating the clients, and it is possible to make https requests with mongoose web server. But can mongoose support "client" authentication(possibly with an ssl…
rad
  • 1,106
  • 7
  • 15
0
votes
1 answer

CGI renders to screen shell script output

I created a CGI in C++. This program calls a shell script script.sh this way system("script.sh") I don't know why but when I use the CGI the web page displays all the output of the script. What can I do to avoid that? I inserted an echo off but it…
Abruzzo Forte e Gentile
  • 14,423
  • 28
  • 99
  • 173
0
votes
2 answers

How can I build the mongoose web server on Linux?

I apologize if this seems like a stupid question, but I guess I am more used to packages that come with Makefiles or configure scripts. I downloaded the Mongoose source tar file from the site, and untarred it. I then tried to compile an executable…
merlin2011
  • 71,677
  • 44
  • 195
  • 329
0
votes
2 answers

How start , stop mongoose from windows CLI

I need to start, stop mongoose using windows cli. I tried with sc start mongoose.exe command. But I am getting this error. [SC] StartService: OpenService FAILED 1060: Any body can help me please. Thanks in advance
DEVOPS
  • 18,190
  • 34
  • 95
  • 118
0
votes
0 answers

Mongoose compatible ith Windows 8 r2

I've been trying to get mongoose to work on windows 8 r2. Does anyone know of why this is not working? I have I working on Windows 7 but not on Windows 8 r2. Any thoughts would be appreciated. To be more specific I am not able to access localhost80…
ClydeHopper
  • 11
  • 1
  • 2
  • 6
0
votes
2 answers

Calling functions from mongoose begin_request_handler callback

Currently I'm working on an application which embeds the mongoose webserver. In some cases, I have to call additional functions inside the begin_request_handler to create the desired HTTP header. During this, I realized that theses functions are…
braindump
  • 309
  • 2
  • 4
  • 13
0
votes
1 answer

How to add a new type (.htc) in mongoose

I am creating a CGI based application(using C) in mongoose server. That web application is using for hardware setting. Javascript, CSS, CGI,etc all things is working fine in my mongoose server. Here I want to use ".htc" files in CSS. So How it is…
1 2 3
9
10