MCPcopy Create free account
hub / github.com/ValveSoftware/GameNetworkingSockets / Test_soak

Function Test_soak

tests/test_connection.cpp:614–623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612}
613
614static void Test_soak()
615{
616 uint16 nServerPort = k_nStartingServerPort;
617 SteamNetworkingIPAddr bindAddr, connectAddr;
618
619 // Dual-stack server, IPv4 client (IPv4-mapped path)
620 bindAddr.Clear(); bindAddr.m_port = nServerPort;
621 connectAddr.SetIPv4( 0x7f000001, nServerPort );
622 Test_Connection( ETestConnectionMode::Soak, bindAddr, connectAddr );
623}
624
625// Some tests for identity string handling. Doesn't really have anything to do with
626// connectivity, this is just a conveinent place for this to live

Callers

nothing calls this directly

Calls 3

Test_ConnectionFunction · 0.85
ClearMethod · 0.45
SetIPv4Method · 0.45

Tested by

no test coverage detected