Deepak Panickal
d66b50c96c
Fixes to get LLDB building on Windows again.
...
llvm-svn: 193159
2013-10-22 12:27:43 +00:00
Joerg Sonnenberger
1e0621cea2
arpa/inet.h is the canonical source of htons and friends.
...
At least on NetBSD, none of the already included headers pulls it in.
llvm-svn: 191386
2013-09-25 17:53:34 +00:00
Peter Collingbourne
9a8d848caf
Add support for platforms without sa_len to SocketAddress, and modify
...
some code to use it
llvm-svn: 135790
2011-07-22 19:12:42 +00:00
Greg Clayton
72c66dde39
Avoid calling accessor function more than once when result is already in
...
a local.
llvm-svn: 135512
2011-07-19 20:06:26 +00:00
Greg Clayton
9189b20875
Added some more functionality to SocketAddress and modified
...
ConnectionFileDescriptor to use it.
llvm-svn: 135511
2011-07-19 20:03:42 +00:00
Greg Clayton
ad440da346
Abstract "struct sockaddr", "struct sockaddr_in", "struct sockaddr_in6" and
...
"struct sockaddr_storage" into a new host class called SocketAddress. This
will allow us to control the host specific implementations (such as how to
get the length) into a single Host specific class.
llvm-svn: 135488
2011-07-19 16:44:54 +00:00