Replies: 13 comments 1 reply
-
|
@xeron333 Is there a specific question you want answered? Without a code sample or very specific questions, there is nothing much I can offer. |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
Activate Immediate Mode, that may help with your case |
Beta Was this translation helpful? Give feedback.
-
|
Thank you. I tried modifying my code with your instructions, but I'm new to C# and I'm not sure if this is the right approach because nothing changes. Here's what I added; the rest is the same: and to open deviceC :
|
Beta Was this translation helpful? Give feedback.
-
|
where are you observing the delay ? I don't see in the code any lines related to time measurements |
Beta Was this translation helpful? Give feedback.
-
|
I had commented on these lines and I put them back but it doesn't change anything...
And the rest is identical.
|
Beta Was this translation helpful? Give feedback.
-
|
Noticed
I wrote like this:
But the problem remains... |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I haven't received a response from you, so I assume there's no solution to my problem? Perhaps SharpPCap isn't suitable for what I want to do, which is create an event for every HTTP(s)request. Please let me know what you think. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks Okay, but how come it shows me packets corresponding to sites I never visit, and the sites I do visit sometimes get a response, sometimes never! |
Beta Was this translation helpful? Give feedback.
-
|
Hi @xeron333 have you checked out https://github.com/dotpcap/packetnet-connections/tree/master/Examples/HttpMonitorExample ? |
Beta Was this translation helpful? Give feedback.
-
|
thanks chmorgan for your help, for now I'm taking a little time to study your code, I'll come back to you in a while |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I'm trying to copy your code into the .csproj of my project:
and i have error "Projet 'PacketDotNetConnections.csproj' not found if change this line :
by this line :
It works, but shouldn't this project (PacketDotNetConnections.csproj) still be included? And how? |
Beta Was this translation helpful? Give feedback.
-
|
Hello, finally I managed to include "PacketDotNetConnections.csproj" but nothing changes, I have very little display of my http(s) requests, I attach a screenshot of my solution, so that you see exactly my environment. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I've recently started using SharpPcap, which works well, but I'm having a problem because my goal in using SharpPcap was to intercept HTTP requests and trigger a process upon this event. Unfortunately, the arrival of packets corresponding to an HTTP request is sometimes very long, making it difficult to generate the process at the desired time.
I don't know if this can be adjusted. I've attached the code for the filter I set up:
"tcp and (port 80 or port 443)"Please keep me posted.
Beta Was this translation helpful? Give feedback.
All reactions