Scripting/Squirrel/Functions/Socket.Connect: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "This function will connect the socket to a specified IP and Port. == Syntax == <pre>Socket.Connect( Host, Port )</pre> == Arguments == * ''string'' '''Host''' - The hostna...")
 
No edit summary
 
Line 16: Line 16:


{{Scripting/Squirrel/Functions/Sockets}}
{{Scripting/Squirrel/Functions/Sockets}}
[[Category:Scripting/Squirrel/Functions/Sockets]]

Latest revision as of 21:55, 30 January 2017

This function will connect the socket to a specified IP and Port.

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.

Related Functions