Project

General

Profile

Actions

Bug #5547

closed

/socklisten should not populate $sock for invalid ports

Added by westor (GR) over 2 years ago. Updated over 2 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!

Actions #1

Updated by Per Amundsen over 2 years ago

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.

Actions #2

Updated by westor (GR) over 2 years ago

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

Actions #3

Updated by Per Amundsen over 2 years ago

  • 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.

Actions #4

Updated by Per Amundsen over 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF