Skip to content
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

请问能我想根据接受的封包实时修改发送封包的内容,应该怎么实现。 #50

Open
hxf992 opened this issue Nov 21, 2024 · 3 comments

Comments

@hxf992
Copy link

hxf992 commented Nov 21, 2024

No description provided.

@hxf992
Copy link
Author

hxf992 commented Nov 21, 2024

我现在是收到封包,然后把封包存入剪辑版, 然后编程处理, 然后再模拟按键复制到发送。 有办法直接编程 不用模拟界面操作 实现吗。

@x-nas
Copy link
Owner

x-nas commented Nov 21, 2024

您好,最简单的办法是把想要发送的内容准备好以后,直接调用我程序里面的 SendPacket(int iSocket, Socket_Cache.SocketPacket.PacketType stType, string sIPFrom, string sIPTo, byte[] bSendBuffer)方法

发送的数据转换成byte数组,其它参数直接用我程序里的值就可以了

@hxf992
Copy link
Author

hxf992 commented Nov 21, 2024

好的 谢谢解答!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants