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; +}