// handleNewServerConn accepts the new client webConn and then just writes back "hello <initial payload>"
handleNewServerConn accepts the new client webConn and then just writes back "hello "
// handleNewServerConn accepts the new client webConn and then just writes back " hello <initial payload > "
func handleNewServerConn(t *testing.T, c net.Conn) {
	for {
		buf := make([]byte, 1024)
		_, err := c.Read(buf)
		assert.NoError(t, err)
		retBytes := append([]byte("hello "), buf...)
		_, err = c.Write(retBytes)
		assert.NoError(t, err)
	}
}
func handleNewServerConn ( t * testing . T , c net . Conn ) { for { buf := make ( [ ] byte , 1024 ) _ , err := c . Read ( buf ) assert . NoError ( t , err ) retBytes := append ( [ ] byte ( " " ) , buf ... ) _ , err = c . Write ( retBytes ) assert . NoError ( t , err ) } }
handleNewServerConn accepts the new client webConn and then just writes back "hello "
handleNewServerConn accepts the new client webConn and then just writes back " hello "