Scripting/Squirrel/Functions/Socket.Connect
From Vice City Multiplayer [MIRROR]
This function will connect the socket to a specified IP and Port.
Contents
Syntax
Socket.Connect( Host, Port )
Arguments
- string Host - The hostname of the server you want to connect to.
- int Port - The port you want to connect to.
Example
Please refer to the Socket Example for a advanced usage of all socket functions.