WebServer

Simple WebServer with swift (iOS)

0
0
Swift

WebServer

Simple WebServer with swift (iOS)

unfinished.

step:

  1. listem a port
  2. receive socket data
  3. convert data to Request
  4. convert Request to Response
  5. send data

problems:

  • how to keep alive?
  • read image .etc
  • http status code 1xx,2xx,404 .etc