HTTP Tutorial. The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. This is the foundation for data communication for the World Wide Web (i.e. internet) since 1990. HTTP is a generic and stateless protocol which can be used for other purposes as well using extensions of its request methods, error codes, and headers. This tutorial is based on RFC-2616 specification, which defines the protocol referred to as HTTP/1.1. HTTP/1.1 is a revision of the original HTTP (HTTP/1.0). This tutorial has been prepared for computer science graduates and web developers to help them understand the basic to advanced level concepts related to Hypertext Transfer Protocol (HTTP). Before proceeding with this tutorial, it is good to have a basic understanding of web concepts, web browsers, web servers, client and server architecture based software.
What is API - Application Program Interface? Webopedia. By Vangie Beal Application program interface (API) is a set of routines, protocols, and tools for building software applications. An API specifies how software components should interact. Additionally, APIs are used when programming graphical user interface (GUI) components. A good API makes it easier to develop a program by providing all the building blocks. A programmer then puts the blocks together. Different Types of APIs There are many different types of APIs for operating systems, applications or websites. Most operating environments, such as MS-Windows, provide APIs, allowing programmers to write applications consistent with the operating environment. Popular API Examples ProgrammableWeb, a site that tracks more than 15,500 APIs, lists Google Maps, Twitter, YouTube, Flickr and Amazon Product Advertising as some of the the most popular APIs. 1. 2. 3. ASF Source Code Documentation gethost by name.
Socket resolve callback. ASF Source Code Documentation. Asynchronous sending function, used to send data on a TCP/UDP socket. Called by the application code when there is outgoing data available required to be sent on a specific socket handler. The only difference between this function and the similar sendto function, is the type of socket the data is sent on and the parameters passed in. send function is most commonly called for sockets in a connected state. After the data is sent, the socket callback function registered using registerSocketCallback(), is expected to receive an event of type SOCKET_MSG_SEND holding information containing the number of data bytes sent. Parameters Precondition Sockets must be initialized using socketInit. See Also socketInit recv sendto socket connect accept sendto Warning u16SendLength must not exceed SOCKET_BUFFER_MAX_LENGTH.
Returns The function shall return SOCK_ERR_NO_ERROR for successful operation and a negative value (indicating the error) otherwise. Difference between framework vs Library vs IDE vs API vs SDK vs Toolkits? What is API - Application Program Interface? Webopedia.