mirror of
https://github.com/quasar/Quasar.git
synced 2026-04-26 07:45:57 +03:00
[GH-ISSUE #251] Port number data type #118
Labels
No labels
bug
bug
cant-reproduce
discussion
duplicate
easy
enhancement
help wanted
improvement
invalid
need more info
pull-request
question
wont-add
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Quasar#118
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yankejustin on GitHub (Jun 1, 2015).
Original GitHub issue: https://github.com/quasar/Quasar/issues/251
Change Requested:
The port number is currently stored as an
int. While we currently parse the text from the Settings Form as aushort, the data type used to store the port number is anint.@MaxXor commented on GitHub (Jun 1, 2015):
huh? The client and server stores the Port as
ushortalready??https://github.com/MaxXor/xRAT/blob/master/Server/Core/Server.cs#L15
https://github.com/MaxXor/xRAT/blob/master/Client/Config/Settings.cs#L14
The Settings Form parses the Port also as
ushort.@yankejustin commented on GitHub (Jun 1, 2015):
I apologize. I misread.
@ghost commented on GitHub (Jun 5, 2015):
@MaxXor part of this proposed change would allow the port number to be configurable, allowing you to recover if you lost your VPN service. The other part would allow for at least one fallback DNS entry for the host, allowing you to recover if you lost your DNS service. I find both of these to be very valuable features.
@yankejustin commented on GitHub (Jun 5, 2015):
@DavesPlanet You may have misunderstood my purpose for opening this issue:
I had misread the data type for the port, mistaking the
ushortit correctly uses and instead thought it was anint. There was no issue besides my prior misunderstanding of what is currently correctly used. :)@ghost commented on GitHub (Jun 16, 2015):
@yankejustin actually I'm just too stoopid to realize this was a discussion of a bug report and not of the pull request. Sorry for my ignorance.