Welcome to Detours Discussions! #206
bgianfo
announced in
Announcements
Replies: 1 comment
-
Hello all, my name is Ishita and I have recently started working with Detours for our NodeJs service. I want to hook Detour to the winsock2 APIs connect() and closeSocket(). The Detour is implemented in a .cc file which is compiled into a binary that is loaded into a typeScript class using "require". Now the typeScript class has a method that does a "fetch" call and I am expecting the Detour to attach to the connect() call that will happen in the backgroun of fetch() and replace it with my function. But I do see that the attachment is not happening. Can someone please give me some pointers as to what I might be doing wrong? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Welcome!!! 🤟🥳
We’re using Discussions as a place to connect with other members of the Detours community. We hope that you:
We request that everybody follow the Microsoft Code of Conduct. We are creating a welcoming community, where everyone feels comfortable sharing their questions and experience, no matter who they are or how long they've been using Detours. We treat everyone with respect here.
To get started, comment below with an introduction of yourself and tell us how you use Detours!
Beta Was this translation helpful? Give feedback.
All reactions