Skip to content

Read-PodeTcpClient

SYNOPSIS

Reads data from a TCP Client stream.

SYNTAX

Read-PodeTcpClient [[-Client] <Object>] [[-Timeout] <Int32>] [<CommonParameters>]

DESCRIPTION

Reads data from a TCP Client stream.

EXAMPLES

EXAMPLE 1

$data = Read-PodeTcpClient

PARAMETERS

-Client

An optional TcpClient from which to read data.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Timeout

An optional Timeout in milliseconds.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.String

NOTES