diff options
-rw-r--r-- | udp514-journal.c | 4 |
1 files 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); |