Skip to content

hckr/SimpleHTTP

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Very Simple HTTP Server using Winsock

  • Listens on port 80
  • Responds with received HTTP headers
  • Sometimes crashes 😕

Preview in browser

How to build

On Windows

Use provided Qt Creator project file.

On Linux

It'd probably be easier to rewrite it to BSD sockets, but in current version it can be cross-compiled for Windows and then run with Wine:

$ i686-w64-mingw32-g++ *.cpp *.h -o server -static -static-libgcc -static-libstdc++ -lws2_32
$ sudo wine server.exe

About

Simple HTTP server written using WinSock

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published