UdpClient.Connect Method
Namespace: Riptide.Transports.Udp
Assembly: RiptideNetworking.dll
Connect(string, out Connection, out string)
Starts the transport and attempts to connect to the given host address.
public bool Connect(string hostAddress, out Connection connection, out string connectError)
Parameters
string | hostAddress |
The host address to connect to. |
Connection | connection |
The pending connection. null if an issue occurred. |
string | connectError |
The error message associated with the issue that occurred, if any. |
Returns
bool | true if a connection attempt will be made. false if an issue occurred (such as |
Implements
Remarks
Expects the host address to consist of an IP and port, separated by a colon. For example: 127.0.0.1:7777
.