Better handle transmit errors
authorlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 8 Aug 2011 18:19:45 +0000 (18:19 +0000)
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 8 Aug 2011 18:19:45 +0000 (18:19 +0000)
commit1c34b250f66ba304a4da510404caa827af2ad91e
treebd58f45d28b4ad661d1a7ad400ec5ae6be596040
parent42372879b5a96136e58d3f4755a892fd20b61d68
Better handle transmit errors
Return 0 receive bytes when socket is closed

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12099 6f19259b-4bc3-4df7-8a09-765794883524
StdLib/EfiSocketLib/Socket.c
StdLib/EfiSocketLib/Tcp4.c