SMS: Flows in networks