Skip to content

hckr/SimpleHTTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

064357e Â· Aug 6, 2019

History

6 Commits
Aug 6, 2019
Jul 10, 2015
Aug 6, 2019
Jan 9, 2016
Jul 10, 2015
Aug 6, 2019
Jul 10, 2015
Jul 10, 2015
Aug 6, 2019
Jul 10, 2015
Jul 10, 2015

Repository files navigation

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