This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Contoh Sederhana Penggunaan Libevent untuk membuat server kalkulator | |
| *yang di input/output menggunakan HTML | |
| created by http://deeprhezy.tumblr.com | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <math.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
| "http://www.w3.org/TR/html4/loose.dtd"> | |
| <html> | |
| <head> | |
| <title>evhttp_server_test</title> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| </head> | |
| <!-- This example create a webpage asking for a username and a password then send it to a specified address. --> | |
| <form id="contact" method="post" action="http://127.0.0.1:8080"> | |
| <fieldset><legend>Kalkulator</legend> |
NewerOlder