-
Notifications
You must be signed in to change notification settings - Fork 246
Support TCP for protocol messages #3636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
softins
wants to merge
50
commits into
jamulussoftware:main
Choose a base branch
from
softins:tcp-protocol
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,309
−85
Draft
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
bfa05ea
Add --enabletcp option for server
softins c009066
Initial skeleton for TCP protocol server
softins 451a98c
Add handling of CL msgs for Server and client list
softins a5ea5e4
Create CLM_TCP_SUPPORTED and related methods
softins 592da7f
Add CLM_TCP_SUPPORTED message generation when TCP enabled
softins f3f022e
Add flag to request TCP client use
softins e610545
Add handlers for TCP Supported message
softins adb8077
Propagate TCP client flag down to OnSendCLProtMessage
softins 99a1855
Delete QTcpServer object when done
softins d843b9b
Added some debug output
softins 0d60d87
Update copyright years
softins 7015608
Separate CTcpConnection code from CTcpServer
softins 24d9575
Make CTcpConnection members private
softins f86bcd0
Add client-side TCP code
softins 35a9fce
Request server list via TCP if required
softins d2b00b6
Add message context parameter for CLM_TCP_SUPPORTED
softins 78ead99
Add Qt version check for errorOccurred()
softins b25d358
Fetch client list over TCP when necessary for a server
softins 529f7fe
Create CLM_CLIENT_ID and related methods
softins 63d0123
Add OnClientIDReceived slot to CChannel
softins 524936d
Skeleton support for connected mode TCP
softins f627d0e
Move TCP debug message from connectdlg to client
softins f67b9f6
Add missing return
softins 3477c54
Remove unneeded #include from tcpconnection
softins d5d8366
Send client list via TCP when connection available
softins 13f06af
Add skeleton handler for CLClientID to CServer
softins 6ae56e6
Add disconnecFromHost method to CTcpConnection
softins 44cfa8b
Mods to CTcpConnection for future use
softins 328ea5a
In server, link TCP channel to UDP channel by client ID
softins c73c7fb
Replace boolean TCP flag with multimode enum
softins 34e7fb2
Add creation of session-long TCP connection
softins 9350571
Route CLConnClientList depending on whether connected
softins 1576379
Be specific about bDisconAfterRecv for TCP
softins 1f9a5f9
Rework TCP session-mode connection
softins d7e165f
Minor comment updates
softins 49f3925
Add support for sending Empty Message over TCP
softins 8ac674f
Implement keepalive over session long TCP connection
softins 50fc273
Clarify comment
softins 10139ef
Make CTcpConnection work in serveronly mode.
softins 7b99efc
Add timeout for TCP connection
softins 482c247
Add an idle timeout on the server side
softins 9c3ea6b
Add document describing TCP operation
softins 8982a63
Update copyright headers for new source files
softins 8d8f772
Use new way to discover IPv6 availability
softins d80a512
Only quote port number in TCP server start message.
softins 6646d90
Small changes to address review comments
softins 75f76fb
Improve naming of TCP signals and slots
softins 24409a9
Update protocol ID values
softins ccaee22
Add FS_TCP_ENABLED to server features
softins 1ac1a02
Support using a CHostAddress as a QHash key
softins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, makes sense. Next to try and work out how the fits around it 🙂 .