- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestTcpEchoServer (0.1 sec)
-
samples/tcp-echo/src/main_test.go
// limitations under the License. package main import ( "bufio" "net" "os" "strings" "testing" "time" ) // TestTcpEchoServer tests the behavior of the TCP Echo Server. func TestTcpEchoServer(t *testing.T) { // set up test parameters prefix := "hello" request := "world" want := prefix + " " + request // start the TCP Echo Server
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 06 09:12:44 UTC 2023 - 1.7K bytes - Viewed (0)