audk/StdLib/Include
lpleahy f74dc4bbba Fix issues detected by python web-server.
* Removed display of TPL
* Added NOP implementation for SO_REUSEADDR
* Add better detection of socket address
* Return first address

Signed-off-by: lpleahy

Python Web server below:

---------------

import sys
import BaseHTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler


HandlerClass = SimpleHTTPRequestHandler
ServerClass  = BaseHTTPServer.HTTPServer
Protocol     = "HTTP/1.0"

port = 80
server_address = ('', port)

HandlerClass.protocol_version = Protocol
httpd = ServerClass(server_address, HandlerClass)

sa = httpd.socket.getsockname()
print "Serving HTTP on", sa[0], "port", sa[1], "..."
httpd.serve_forever()




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13034 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-24 18:45:09 +00:00
..
Arm/machine StdLib: Patches and updates for ARM. 2011-09-16 20:59:10 +00:00
Efi Fix issues detected by python web-server. 2012-02-24 18:45:09 +00:00
Ia32/machine Fix GCC build errors. 2011-08-31 00:02:56 +00:00
Ipf/machine Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
Protocol Update the sockets library code 2011-09-30 23:02:35 +00:00
X64/machine StdLib: Fix build errors caused by differences between the minGW 4.3 and GCC 4.4 compilers. 2011-09-01 21:56:45 +00:00
arpa Add Socket Libraries. 2011-07-30 00:30:44 +00:00
net Merged socket development branch: 2012-02-09 19:16:44 +00:00
netatalk Add Socket Libraries. 2011-07-30 00:30:44 +00:00
netinet StdLib: Fix compiler compatibility issues: 2012-02-01 00:17:05 +00:00
netinet6 Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
netns Add Socket Libraries. 2011-07-30 00:30:44 +00:00
sys StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
x86 Update or add comments to files and functions for use by Doxygen. 2011-08-05 23:02:43 +00:00
assert.h Update or add comments to files and functions for use by Doxygen. 2011-08-04 18:13:02 +00:00
ctype.h StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
dirent.h StdLib: Add directory access functions to PosixLib. 2011-11-02 19:24:19 +00:00
err.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
errno.h StdLib: Fix some corrupted comments and inconsistent indentation. 2011-11-03 00:52:37 +00:00
fcntl.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
float.h Update or add comments to files and functions for use by Doxygen. 2011-08-04 23:35:57 +00:00
glob.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
inttypes.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
iso646.h Update or add comments to files and functions for use by Doxygen. 2011-08-05 23:02:43 +00:00
langinfo.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
libgen.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
limits.h Update or add comments to files and functions for use by Doxygen. 2011-08-05 23:02:43 +00:00
locale.h Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
math.h Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
netdb.h StdLib/Include/netdb.h: Re-enable macros needed by socket applications and perform general cleanup. 2012-01-26 21:45:54 +00:00
nl_types.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
nsswitch.h Merged socket development branch: 2012-02-09 19:16:44 +00:00
paths.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
pwd.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
resolv.h Merged socket development branch: 2012-02-09 19:16:44 +00:00
setjmp.h Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
signal.h Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
stdarg.h Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
stdbool.h Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
stddef.h Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
stdint.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
stdio.h StdLib: Add directory access functions to PosixLib. 2011-11-02 19:24:19 +00:00
stdlib.h Update or add comments to files and functions for use by Doxygen. 2011-08-17 22:54:56 +00:00
string.h Update or add comments to files and functions for use by Doxygen. 2011-08-17 22:54:56 +00:00
stringlist.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
strings.h StdLib: Move the declarations for ffs() and bzero() from extern.h to strings.h. 2011-11-03 00:35:55 +00:00
sysexits.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
time.h Update or add comments to files and functions for use by Doxygen. 2011-08-17 22:54:56 +00:00
unistd.h StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
utime.h StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
wchar.h StdLib: Replace some non-ASCII characters with ASCII equivalents. 2011-09-08 22:41:36 +00:00
wctype.h Update or add comments to files and functions for use by Doxygen. 2011-08-17 22:54:56 +00:00