Mauro, There are several components to StdLib. 1) Standard C Libraries 2) Sockets 3) POSIX libraries 4) Other libraries
The Sockets library has a version where it installs as a driver and can be used without the Standard C library, POSIX libraries, or Other libraries. Within the Standard C Libraries, there are currently three libraries that can be used by themselves: LibCtype, LibTime, and LibWchar. I apologize for adding to the confusion by referring to the Standard C Libraries as "StdLib". I'll try not to do that again. Daryl McDaniel "I don't know the key to success, but the key to failure is trying to please everybody" -- Bill Cosby. -----Original Message----- From: Mauro Faccenda [mailto:facce...@gmail.com] Sent: Thursday, December 19, 2013 6:02 AM To: edk2-devel@lists.sourceforge.net Subject: [edk2] non-StdLib network clients example Hi, I've been writing some network applications using StdLib and right now I need to make some of them available as UEFI Drivers and as far as I could check, it should be good to not rely on StdLib. Reading the UEFI 2.4 specification I understand that I should be using the EFI_SIMPLE_NETWORK_PROTOCOL to initialize the network interface and, as the application I am willing to port uses UDP4, I'm not sure if EFI_SIMPLE_NETWORK_PROTOCOL or EFI_UDP4_PROTOCOL should be used. I also couldn't find a many examples that could help me understand it better how to use them. (I've seen the Dhcp4Dxe and Mtfp4Dxe code from MdeModulePkg, but they seem to be a little 'overkill' for what I need and couldn't understand them really well). So, if anyone knows or have any simple code example that makes a network request (TCP, UDP or both) without using StdLib that can be shared, I'd appreciate. Thanks in advance, Mauro ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel