documented structures

This commit is contained in:
Gerolf Ziegenhain 2015-01-04 14:39:51 +01:00
parent b20d4efe9e
commit dccf7e6cfc
1 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,7 @@ void *get_in_addr(struct sockaddr *sa)
return &(((struct sockaddr_in6*)sa)->sin6_addr);
}
// connect to server and send my id.
void
identifyclient(void)
{
@ -154,6 +155,7 @@ identifyclient(void)
send(fd_socket, &id_packet, SIZE_DATA_PACKET, 0);
}
// disconnect from the server
void
inthandler(int sig)
{