C network framework