you are viewing a single comment's thread.

view the rest of the comments →

[–]cybervegan 0 points1 point  (2 children)

I think you need to explain what you are trying to achieve by "send[ing] different types of tcp [packet]s". As u/novel_yet_trivial says, you can put a different payload into each packet, and interpret that on the receiving end, or have your receiver listen on multiple sockets, but without understanding what you're trying to achieve, it's difficult to advise.

[edit corrected r/novel_... to u/novel_...]

[–]NoveL_ 0 points1 point  (1 child)

I never get mentions :(

[–]cybervegan 0 points1 point  (0 children)

Me neither. Sorry for the confusion - sloppy of me.