Fleshing out CloseNetworkConnection()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Fleshing out CloseNetworkConnection()

Post by Shannara »

Any chance to give notification to client when server disconnects the client? I mean, we finally have the server side, what about the client side?

Quote from the docs ...
Syntax

CloseNetworkConnection(Connection)
Description

Close the specified client connection. If a client calls this, the server will get a #PB_NetworkEvent_Disconnect event, if this is called from a server, the connection will be closed without any notice to the client.
Supported OS

All