audk/StdLib/EfiSocketLib
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
..
DxeSupport.c Update the sockets library code 2011-09-30 23:02:35 +00:00
EfiSocketLib.inf Merged socket development branch: 2012-02-09 19:16:44 +00:00
Init.c Update the sockets library code 2011-09-30 23:02:35 +00:00
Ip4.c Fix issues detected by python web-server. 2012-02-24 18:45:09 +00:00
ReleaseNotes.txt Fix compilation errors detected with GCC 4.4 2011-09-30 23:52:45 +00:00
Service.c Update the sockets library code 2011-09-30 23:02:35 +00:00
Socket.c Fix issues detected by python web-server. 2012-02-24 18:45:09 +00:00
Socket.h Fix issues detected by python web-server. 2012-02-24 18:45:09 +00:00
Tcp4.c Fix issues detected by python web-server. 2012-02-24 18:45:09 +00:00
Tcp6.c Fix issues detected by python web-server. 2012-02-24 18:45:09 +00:00
Udp4.c Fix issues detected by python web-server. 2012-02-24 18:45:09 +00:00
Udp6.c Fix issues detected by python web-server. 2012-02-24 18:45:09 +00:00
UseEfiSocketLib.c Merged socket development branch: 2012-02-09 19:16:44 +00:00