diff --git a/process/process_windows.go b/process/process_windows.go index f78c9be..283c3ec 100644 --- a/process/process_windows.go +++ b/process/process_windows.go @@ -640,7 +640,7 @@ func (p *Process) Connections() ([]net.ConnectionStat, error) { } func (p *Process) ConnectionsWithContext(ctx context.Context) ([]net.ConnectionStat, error) { - return nil, common.ErrNotImplementedError + return net.ConnectionsPidWithContext(ctx, "all", p.Pid) } func (p *Process) ConnectionsMax(max int) ([]net.ConnectionStat, error) {