From b3754bb474e26cc27d6fde6ebc068be30cc64d50 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 8 Jan 2018 16:15:17 +0100 Subject: update comments --- udp514-journal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/udp514-journal.c b/udp514-journal.c index 005bb0d..ca8b163 100644 --- a/udp514-journal.c +++ b/udp514-journal.c @@ -14,13 +14,13 @@ int main(int argc, char **argv) { char buffer[BUFFER_SIZE]; const int y = 1; - /* Socket erzeugen */ + /* open socket */ if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { perror("could not open socket"); return EXIT_FAILURE; } - /* Lokalen Server Port bind(en) */ + /* bind local socket port */ servAddr.sin_family = AF_INET; servAddr.sin_addr.s_addr = htonl(INADDR_ANY); servAddr.sin_port = htons(LOCAL_SERVER_PORT); -- cgit v1.2.3-70-g09d2