func (client *StreamClient) Connect() error {

	ipAddress := client.options.ServerIPAddress.IP.String()
	ipAndPort := fmt.Sprintf("%s:%d", ipAddress, client.options.ServerPort)
	conn, err := net.Dial(client.options.NetworkProtocol, ipAndPort)

	client.conn = &conn

	return err
}
// Connect Connects a StreamClient to its streamtest server
Connect Connects a StreamClient to its streamtest server
// Connect Connects a StreamClient to its streamtest server
func (client *StreamClient) Connect() error {
	ipAddress := client.options.ServerIPAddress.IP.String()
	ipAndPort := fmt.Sprintf("%s:%d", ipAddress, client.options.ServerPort)
	conn, err := net.Dial(client.options.NetworkProtocol, ipAndPort)
	client.conn = &conn
	return err
}
func ( client * StreamClient ) Connect ( ) error { ipAddress := client . options . ServerIPAddress . IP . String ( ) ipAndPort := fmt . Sprintf ( " " , ipAddress , client . options . ServerPort ) conn , err := net . Dial ( client . options . NetworkProtocol , ipAndPort ) client . conn = & conn return err }
Connect Connects a StreamClient to its streamtest server
Connect Connects a StreamClient to its streamtest server