Comments (3)
Its a simple call to IPAddress.NetworkToHostOrder and you should only be calling it once per condition for the lifetime of your application.
It makes little to no sense to force function calls every single time to covert naturally big endian values to little endian and incur performance penalties when a correctly engineered application doesn't need to do this.
Suggest you reengineer your app.
from windivertsharp.
If you do the conversion on value retrieval, there is no performance penalty unless the value is retrieved. Stuff like sequence number is different on every packet, are you telling me to manually increment a sequence number counter? Seems like unnecessary complexity to me.
from windivertsharp.
Alright granted but this is a wrapper around windivert and it doesn't auto convert. Idea was to stay close to the original design.
I'm writing my own kernel driver so I'm not investing anymore work into windivert.
from windivertsharp.
Related Issues (16)
- WinDivertAddress problems
- WinDivert 2.0 support HOT 4
- Handle is always null. HOT 5
- Send fake ACK HOT 1
- Lowering Latency HOT 3
- Question - How can I use this package to drop packets according to a filter? HOT 3
- How would I use this tool to filter/drop packets in a C# Ui HOT 1
- Missing Send only mode
- WinDivertRecv read length incorrect in windivert 2.2.2 HOT 1
- Other issues with checksums too apparently
- Crash within WinDivertParseResult initializer HOT 17
- Update readme HOT 1
- How do I use this? HOT 12
- Update sample code HOT 16
- Issue while sending my own packet HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windivertsharp.