projects
/
rrq
/
rrqnet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added heartbeat rate configuration
[rrq/rrqnet.git]
/
sockaddr.h
1
#ifndef sockaddr_H
2
#define sockaddr_H
3
4
#include <arpa/inet.h>
5
#include <sys/socket.h>
6
7
// IP Address union, with flag field
8
struct SockAddr {
9
union {
10
struct sockaddr in;
11
struct sockaddr_in in4;
12
struct sockaddr_in6 in6;
13
};
14
};
15
16
#endif