Service · inherits NetworkPeer
NetworkClient
A service that manages a network connection's properties server.
About NetworkClient
This service is responsible for connecting a client to a server.
Events 2
ConnectionAccepted
NetworkClient.ConnectionAccepted:Connect(function(peer, replicator))Fired when the client successfully connects to a server. Returns a string showing the server's IP and port, and the client'sClientReplicator.Fired when the client successfully connects to a server. Returns a string showing the server's IP and Port, and the client's
ClientReplicator.ConnectionFailed
NetworkClient.ConnectionFailed:Connect(function(peer, code))Fired if the client fails to connect to the server.
NetworkClient also has every member of NetworkPeer. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.