IPv6 comments
This commit is contained in:
parent
896c04adfa
commit
c09c346f1d
|
@ -28,7 +28,7 @@
|
|||
#define NTIMED_COMPILER_H
|
||||
|
||||
/*
|
||||
* See alse:
|
||||
* See also:
|
||||
* http://codewiz.org/projects/amiga/Headers/CompilerSpecific.h
|
||||
*
|
||||
*/
|
||||
|
@ -84,13 +84,15 @@ typedef unsigned int socklen_t;
|
|||
typedef uint16_t in_port_t;
|
||||
#endif
|
||||
|
||||
// Is this needed since we dont use IPv6 ?
|
||||
|
||||
// General socket address holding structure, big enough to hold either
|
||||
// struct sockaddr_in or struct sockaddr_in6 data:
|
||||
struct sockaddr_storage {
|
||||
sa_family_t ss_family; // address family
|
||||
|
||||
// all this is padding, implementation specific, ignore it:
|
||||
char __ss_pad1[128 - sizeof(sa_family_t)];
|
||||
char __ss_pad1[128 - sizeof(sa_family_t)];
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue