EnglishРусский  

Ads

Scriptius script builder
Provides the best choice in work automation and great time saving features.

CreateInstall
Freeware and commercial installers.

Cell Phone Batteries
Batteries Plus offers batteries for laptop, camcorder, cell phone, camera.

Gentee needs your help!
How to advertise with us
 
laptop battery

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.
Edit