From ef0f98688d0f08bf0cb7adfccb3c7da58015391c Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sat, 7 Jan 2017 22:36:56 +0000 Subject: [PATCH] Added test sockt file --- socket.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 socket.c diff --git a/socket.c b/socket.c new file mode 100644 index 0000000..4a45302 --- /dev/null +++ b/socket.c @@ -0,0 +1,12 @@ +#include +#include +#include +#include +int main(void) { + int ch; + while((ch = getchar()) != EOF){ + printf("Char: %c\n", ch); + } + printf("Done\n"); + return 0; +}