Gentee Programming Language > Documentation > Libraries Download documentation

socket.connect

The method creates a socket and establishes a connection to the host and port specified in the host and port fields of the socket structure.

uint socket.connect()

Return value

Nonzero if initialization was successful; otherwise 0.

See also

    Internet


 Copyright © 2004-2006 Gentee Inc. All rights reserved.