Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Need to check a Socket but with a source IP

$
0
0

$socketC = New-object Net.Sockets.TcpClient
$socketC.Connect("10.224.34.1",636)
$socket.Connected

Need to check a Socket but with a source IP. Above code is connected form "localhost". Please help how to put remote IP instead of localhost?


Viewing all articles
Browse latest Browse all 13067

Trending Articles