in reply to How to add payload in raw socket

What protocol does the receiving machine speak?

Also, why are you constructing your packets manually instead of using a plain TCP connection?