[PR #1557] [CLOSED] [FEAT] Add net module in lib_ccxr #2275

Open
opened 2026-01-29 17:21:16 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1557
Author: @elbertronnie
Created: 8/27/2023
Status: Closed

Base: masterHead: add-net-module


📝 Commits (5)

📊 Changes

24 files changed (+3517 additions, -63 deletions)

View changed files

📝 .gitignore (+2 -1)
📝 src/lib_ccx/lib_ccx.c (+8 -0)
📝 src/lib_ccx/networking.c (+54 -0)
📝 src/lib_ccx/utility.c (+33 -0)
📝 src/rust/Cargo.lock (+332 -61)
📝 src/rust/Cargo.toml (+1 -0)
📝 src/rust/build.rs (+8 -1)
src/rust/lib_ccxr/Cargo.lock (+354 -0)
src/rust/lib_ccxr/Cargo.toml (+23 -0)
src/rust/lib_ccxr/src/lib.rs (+1 -0)
src/rust/lib_ccxr/src/util/log.rs (+546 -0)
src/rust/lib_ccxr/src/util/mod.rs (+5 -0)
src/rust/lib_ccxr/src/util/net/c_functions.rs (+95 -0)
src/rust/lib_ccxr/src/util/net/common.rs (+353 -0)
src/rust/lib_ccxr/src/util/net/mod.rs (+42 -0)
src/rust/lib_ccxr/src/util/net/source.rs (+309 -0)
src/rust/lib_ccxr/src/util/net/target.rs (+276 -0)
src/rust/lib_ccxr/src/util/time/c_functions.rs (+35 -0)
src/rust/lib_ccxr/src/util/time/mod.rs (+27 -0)
src/rust/lib_ccxr/src/util/time/units.rs (+634 -0)

...and 4 more files

📄 Description

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.
  • I have mentioned this change in the changelog.

My familiarity with the project is as follows (check one):

  • I have never used CCExtractor.
  • I have used CCExtractor just a couple of times.
  • I absolutely love CCExtractor, but have not contributed previously.
  • I am an active contributor to CCExtractor.

This is an attempt to split #1495 into multiple independant PRs. Dependant on #1551, #1556 and #1553.

This PR adds networking primitives to send and receive captions across the internet. The networking functions are integrated into C codebase.

NOTE: I was able to test the TCP implementation but I could check if the UDP implementation is correct or not, since there is no way to send caption through UDP.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/1557 **Author:** [@elbertronnie](https://github.com/elbertronnie) **Created:** 8/27/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `add-net-module` --- ### 📝 Commits (5) - [`8014d8b`](https://github.com/CCExtractor/ccextractor/commit/8014d8b0c0938d1ad76911aa8c7256d81fcf7496) create lib_ccxr and libccxr_exports - [`8f348fe`](https://github.com/CCExtractor/ccextractor/commit/8f348fe2d9dc0ca382542e5d5ec6537b8a995116) add log module - [`49cdd1f`](https://github.com/CCExtractor/ccextractor/commit/49cdd1fd917f86ac59027139a8ad53eb8559bcc8) add time units module - [`6db74b7`](https://github.com/CCExtractor/ccextractor/commit/6db74b7f6c9baf508fd7f623828a43e4e8cb1161) Merge branch 'add-log-module' - [`9ef9fc7`](https://github.com/CCExtractor/ccextractor/commit/9ef9fc7455781d19e8792648f002bb8b22b1fde7) add net module ### 📊 Changes **24 files changed** (+3517 additions, -63 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+2 -1) 📝 `src/lib_ccx/lib_ccx.c` (+8 -0) 📝 `src/lib_ccx/networking.c` (+54 -0) 📝 `src/lib_ccx/utility.c` (+33 -0) 📝 `src/rust/Cargo.lock` (+332 -61) 📝 `src/rust/Cargo.toml` (+1 -0) 📝 `src/rust/build.rs` (+8 -1) ➕ `src/rust/lib_ccxr/Cargo.lock` (+354 -0) ➕ `src/rust/lib_ccxr/Cargo.toml` (+23 -0) ➕ `src/rust/lib_ccxr/src/lib.rs` (+1 -0) ➕ `src/rust/lib_ccxr/src/util/log.rs` (+546 -0) ➕ `src/rust/lib_ccxr/src/util/mod.rs` (+5 -0) ➕ `src/rust/lib_ccxr/src/util/net/c_functions.rs` (+95 -0) ➕ `src/rust/lib_ccxr/src/util/net/common.rs` (+353 -0) ➕ `src/rust/lib_ccxr/src/util/net/mod.rs` (+42 -0) ➕ `src/rust/lib_ccxr/src/util/net/source.rs` (+309 -0) ➕ `src/rust/lib_ccxr/src/util/net/target.rs` (+276 -0) ➕ `src/rust/lib_ccxr/src/util/time/c_functions.rs` (+35 -0) ➕ `src/rust/lib_ccxr/src/util/time/mod.rs` (+27 -0) ➕ `src/rust/lib_ccxr/src/util/time/units.rs` (+634 -0) _...and 4 more files_ </details> ### 📄 Description <!-- Please prefix your pull request with one of the following: **[FEATURE]** **[FIX]** **[IMPROVEMENT]**. --> **In raising this pull request, I confirm the following (please check boxes):** - [x] I have read and understood the [contributors guide](https://github.com/CCExtractor/ccextractor/blob/master/.github/CONTRIBUTING.md). - [x] I have checked that another pull request for this purpose does not exist. - [x] I have considered, and confirmed that this submission will be valuable to others. - [x] I accept that this submission may not be used, and the pull request closed at the will of the maintainer. - [x] I give this submission freely, and claim no ownership to its content. - [ ] **I have mentioned this change in the [changelog](https://github.com/CCExtractor/ccextractor/blob/master/docs/CHANGES.TXT).** **My familiarity with the project is as follows (check one):** - [ ] I have never used CCExtractor. - [ ] I have used CCExtractor just a couple of times. - [ ] I absolutely love CCExtractor, but have not contributed previously. - [x] I am an active contributor to CCExtractor. --- This is an attempt to split #1495 into multiple independant PRs. Dependant on #1551, #1556 and #1553. This PR adds networking primitives to send and receive captions across the internet. The networking functions are integrated into C codebase. NOTE: I was able to test the TCP implementation but I could check if the UDP implementation is correct or not, since there is no way to send caption through UDP. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:21:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2275