EnglishРусский  

Ads

Installer and installation software
Commercial and Freeware installers.

Socket

Sockets and common internet functions. You must call inet_init function before using this library. For using this library, it is required to specify the file internet.g (from lib\socket subfolder) with include command.

include : $"...\gentee\lib\socket\internet.g"

 

Common internet functions

inet_close Closing the library.
inet_error Getting an error code.
inet_init Library initialization.
inet_proxy Using a proxy server.
inet_proxyenable Enabling/disabling a proxy server.
inetnotify_func Message handling function.

Socket methods

socket.close Closes a socket.
socket.connect Opens a socket.
socket.isproxy Connecting via a proxy or not.
socket.recv The method gets a packet from the connected server.
socket.send The method sends a request to the connected server.
socket.urlconnect Creating and connecting a socket to a URL.

URL strings

str.iencoding Recoding a string.
str.ihead Getting a header.
str.ihttpinfo Processing a header.
str.iurl The method is used to parse a URL address.

Types

httpinfo HTTP header data.
inetnotify Type for handling messages.
socket Socket structure.