summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-01-08 16:15:17 +0100
committerGravatar Christian Hesse <mail@eworm.de>2018-01-08 16:15:17 +0100
commitb3754bb474e26cc27d6fde6ebc068be30cc64d50 (patch)
treee58d4fa1d176707b9e574cbab21c07beed3e0125
parent54378a355c31bf2e05fa90100ea3df6fc3ad56a1 (diff)
downloadudp514-journal-b3754bb474e26cc27d6fde6ebc068be30cc64d50.tar.gz
udp514-journal-b3754bb474e26cc27d6fde6ebc068be30cc64d50.tar.zst
update comments
-rw-r--r--udp514-journal.c4
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);