#pragma once

/* Establishes a TCP connect to SERVICE at HOST and returns the socket
   descriptor.  Calls exit on error (and prints an error message). */
int tcp_connect(const char *host, const char *service);

