/// <param name="bNotifyRemoteEnd">true:套接字上的任何未读取数据将被丢弃,直到远端确认断开连接后,套接字才会被完全破坏</param> public static void DestroyConnections(bool bNotifyRemoteEnd) { foreach (var item in m_SNetSocket) { SteamNetworking.DestroySocket(item, bNotifyRemoteEnd); } }
/// <param name="bNotifyRemoteEnd">true:套接字上的任何未读取数据将被丢弃,直到远端确认断开连接后,套接字才会被完全破坏</param> public static void DestroyConnections(bool bNotifyRemoteEnd) { foreach (var item in m_SNetSocket) { SteamNetworking.DestroySocket(item, bNotifyRemoteEnd); } }