Skip to content

Search

Dokumentace

steam_networking_sockets

Valve's ISteamNetworkingSockets, through SteamNetworkingSockets_SteamAPI(): each method in snake case, nil without Steam. See Valve's Steamworks…

Na této stránce

Valve's ISteamNetworkingSockets, through SteamNetworkingSockets_SteamAPI(): each method in snake case, nil without Steam. See Valve's Steamworks documentation for what each does.

34 functions, 0 constants. Scripts reach it as steam_networking_sockets::.

Functions

Argument kinds are the script values a call passes: node is a node handle, any a table or value of any kind, fn a callback.

function acts on what it does
accept_connection(int) -> int? — Valve's ISteamNetworkingSockets::AcceptConnection.
begin_async_request_fake_ip(int) -> bool? — Valve's ISteamNetworkingSockets::BeginAsyncRequestFakeIP.
close_connection(int, int, str?, bool) -> bool? — Valve's ISteamNetworkingSockets::CloseConnection.
close_listen_socket(int) -> bool? — Valve's ISteamNetworkingSockets::CloseListenSocket.
connect_by_ip_address(steam::SteamNetworkingIPAddr, [steam::SteamNetworkingConfigValue]) -> int? — Valve's ISteamNetworkingSockets::ConnectByIPAddress.
connect_p2_p(steam::SteamNetworkingIdentity, int, [steam::SteamNetworkingConfigValue]) -> int? — Valve's ISteamNetworkingSockets::ConnectP2P.
connect_to_hosted_dedicated_server(steam::SteamNetworkingIdentity, int, [steam::SteamNetworkingConfigValue]) -> int? — Valve's ISteamNetworkingSockets::ConnectToHostedDedicatedServer.
create_hosted_dedicated_server_listen_socket(int, [steam::SteamNetworkingConfigValue]) -> int? — Valve's ISteamNetworkingSockets::CreateHostedDedicatedServerListenSocket.
create_listen_socket_ip(steam::SteamNetworkingIPAddr, [steam::SteamNetworkingConfigValue]) -> int? — Valve's ISteamNetworkingSockets::CreateListenSocketIP.
create_listen_socket_p2_p(int, [steam::SteamNetworkingConfigValue]) -> int? — Valve's ISteamNetworkingSockets::CreateListenSocketP2P.
create_listen_socket_p2_p_fake_ip(int, [steam::SteamNetworkingConfigValue]) -> int? — Valve's ISteamNetworkingSockets::CreateListenSocketP2PFakeIP.
create_poll_group() -> int? — Valve's ISteamNetworkingSockets::CreatePollGroup.
create_socket_pair(bool, steam::SteamNetworkingIdentity?, steam::SteamNetworkingIdentity?) -> steam_networking_sockets::CreateSocketPair? — Valve's ISteamNetworkingSockets::CreateSocketPair.
destroy_poll_group(int) -> bool? — Valve's ISteamNetworkingSockets::DestroyPollGroup.
flush_messages_on_connection(int) -> int? — Valve's ISteamNetworkingSockets::FlushMessagesOnConnection.
get_authentication_status() -> steam_networking_sockets::GetAuthenticationStatus? — Valve's ISteamNetworkingSockets::GetAuthenticationStatus.
get_connection_info(int) -> steam_networking_sockets::GetConnectionInfo? — Valve's ISteamNetworkingSockets::GetConnectionInfo.
get_connection_name(int) -> steam_networking_sockets::GetConnectionName? — Valve's ISteamNetworkingSockets::GetConnectionName.
get_connection_real_time_status(int, int) -> steam_networking_sockets::GetConnectionRealTimeStatus? — Valve's ISteamNetworkingSockets::GetConnectionRealTimeStatus.
get_connection_user_data(int) -> int? — Valve's ISteamNetworkingSockets::GetConnectionUserData.
get_detailed_connection_status(int) -> steam_networking_sockets::GetDetailedConnectionStatus? — Valve's ISteamNetworkingSockets::GetDetailedConnectionStatus.
get_hosted_dedicated_server_popid() -> int? — Valve's ISteamNetworkingSockets::GetHostedDedicatedServerPOPID.
get_hosted_dedicated_server_port() -> int? — Valve's ISteamNetworkingSockets::GetHostedDedicatedServerPort.
get_identity() -> steam_networking_sockets::GetIdentity? — Valve's ISteamNetworkingSockets::GetIdentity.
get_listen_socket_address(int) -> steam_networking_sockets::GetListenSocketAddress? — Valve's ISteamNetworkingSockets::GetListenSocketAddress.
get_remote_fake_ip_for_connection(int) -> steam_networking_sockets::GetRemoteFakeIPForConnection? — Valve's ISteamNetworkingSockets::GetRemoteFakeIPForConnection.
init_authentication() -> int? — Valve's ISteamNetworkingSockets::InitAuthentication.
reset_identity(steam::SteamNetworkingIdentity?) — Valve's ISteamNetworkingSockets::ResetIdentity.
run_callbacks() — Valve's ISteamNetworkingSockets::RunCallbacks.
send_message_to_connection(int, [int], int) -> steam_networking_sockets::SendMessageToConnection? — Valve's ISteamNetworkingSockets::SendMessageToConnection.
set_certificate([int]) -> steam_networking_sockets::SetCertificate? — Valve's ISteamNetworkingSockets::SetCertificate.
set_connection_name(int, str?) — Valve's ISteamNetworkingSockets::SetConnectionName.
set_connection_poll_group(int, int) -> bool? — Valve's ISteamNetworkingSockets::SetConnectionPollGroup.
set_connection_user_data(int, int) -> bool? — Valve's ISteamNetworkingSockets::SetConnectionUserData.

Opravdu?