Project

General

Profile

Actions

Bug #5547

closed
W( PA

/socklisten should not populate $sock for invalid ports

Bug #5547: /socklisten should not populate $sock for invalid ports

Added by westor (GR) over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
04/17/2022
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

It seems /socklisten test 8002 results in /socklisten: port error but adiirc creating the socket, like incorrectly reports an error but do its job internally.

- Thanks!

PA Updated by Per Amundsen over 3 years ago Actions #1

It only does this if something else is listening to that port, mirc seem to ignore that and pretend that it is listening which I think is wrong.

W( Updated by westor (GR) over 3 years ago Actions #2

ok but if adiirc chooses to report an error, it should not create a listening socket then

PA Updated by Per Amundsen over 3 years ago Actions #3

  • Subject changed from /socklisten returns incorrectly port error to /socklisten should not populate $sock for invalid ports
  • Status changed from New to Resolved

it does not create a listening socket, that's why there is an error.

It does remain in $sock() if that's what you mean, I removed it from there for next beta.

PA Updated by Per Amundsen over 3 years ago Actions #4

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom