Skip to content
master
Go to file
Code

Latest commit

This patch applied the following changes:

* Fix timezone in posts: Change timezone from GMT+0 to GMT+8.
* Replace select with epoll (Linux) and kqueue (macOS/FreeBSD)
* Implement resetOneShot function
  When socket get "EAGAIN", the function will help the fd to be added to the interest list again.
374f4bb 1

Git stats

Files

Permalink
Failed to load latest commit information.

README.md

Facebooc

Proof-of-concept Facebook clone in C. The only dependency is SQLite3.

Prerequisites

Install SQLite development package:

sudo apt-get install libsqlite3-dev

Build and Run

cd facebooc
make run

Licensing

Facebooc is freely redistributable under the two-clause BSD License. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.