You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically subject.. How to do it? I tried to use plugin DataHandlerExample and tried to receive data in the OnServerDataReceived(object? sender, DataEventArgs e) by using PacketDotNet library, but can't read any IPPackets from the e.Buffer. Here is my code I tried to read packets through this plugin:
public override void OnServerDataReceived(object? sender, DataEventArgs e)
{
var packet = Packet.ParsePacket(LinkLayers.Ethernet, e.Buffer); // This reads Ethernet packet
// Then I try to extract IPPacket
var ipPacket = packet.Extract<IPPacket>();
// But getting `ipPacket` always null
}
So, how to read and modify data between Client and Server sockets in this SOCKS server?
The text was updated successfully, but these errors were encountered:
Basically subject.. How to do it? I tried to use plugin
DataHandlerExample
and tried to receive data in theOnServerDataReceived(object? sender, DataEventArgs e)
by usingPacketDotNet
library, but can't read any IPPackets from thee.Buffer
. Here is my code I tried to read packets through this plugin:So, how to read and modify data between Client and Server sockets in this SOCKS server?
The text was updated successfully, but these errors were encountered: