Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. byte[] output = somepacketdata;
  2. send(Marshal.ReadInt32((IntPtr)(@this.ToInt32() + 8)), output, output.Length, 0);
  3.  
  4. [DllImport("ws2_32.dll", SetLastError = true)]
  5. public extern static int send(int socket, [MarshalAs(UnmanagedType.LPWStr)] string buff, int bytes, int flag);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement