简体   繁体   English

港口如何敲入Objective-C /可可粉?

[英]How to do a port knock in objective-c/cocoa?

How do I do a port knock in objective-c / cocoa? 我该如何在Objective-C /可可粉中加入港口?

For example, i'd want to 'knock' port 5000 by sending a SYN packet. 例如,我想通过发送SYN数据包“敲”端口5000。

I can't tell you exactly how, but it should be exactly the same as you'd do in C with a standard unix system. 我无法确切告诉您如何操作,但是应该与使用标准unix系统在C语言中执行的操作完全相同。 All C code is compatible with Objective-C, so any C examples you find should be just what you want. 所有C代码都与Objective-C兼容,因此您找到的任何C示例都应该是您想要的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM