请用c ++帮助初学者 [英] Help please for beginner in c++

查看:52
本文介绍了请用c ++帮助初学者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一些东西来学习如何创建udp端口扫描程序,如果我有启动ip = 0.0.0.0和结束IP = 255.255.255.255或inip = 0.0.0.0/8所以它自己解压ip并在端口上查找ip = 80并将每个ip保存在新变量中以便进行下一步操作或将其保存在file.txt中,如果你能给我示例代码,请尽量解释每一件事.....感谢所有...我很累谷歌搜索,刚刚发现如何制作udp服务器和克林特服务器......所有视频让我觉得我很蠢......嗯......顺便说一下,我还需要知道如何获取有关该服务器信息的信息

i need something to learn how to create udp port scanner if i have start ip = 0.0.0.0 and end ip = 255.255.255.255 or inip = 0.0.0.0/8 so it self extract ip and looking for ip on port =80 and save each ip in new variable for next operation or save it in file.txt and please if you can give me example code for that and please try to explain every thing also .....thanks all ... iam tired on google search and just found how to make udp server and Clint server ... and all video make me think i am stupid ...hhh ... by the way also i need to know how to get information about that ip server information

推荐答案

甚至不用考虑它。

你提到的IP地址范围涵盖所有有效的IPV4地址,所以你会试图扫描几乎互联网上的每个地址 - 这可能需要相当长的时间,可能比你的PC持续时间长......:笑:



如果你无法理解视频解释如何做到这一点,可能是因为你试图在行走之前跑步:正如Afzaal所说,在你尝试转向复杂的应用程序之前先彻底学习C ++。



我们不是代码编写服务:我们愿意帮助解决具体问题,但是这里没有人想编写完整的应用程序并为您解释。
Don't even think about it.
the range of IP addresses you mention cover all of the valid IPV4 addresses, so you would be trying to scan almost every address on the internet - which would take some considerable time, probably longer than your PC will last... :laugh:

And if you can't understand the videos explaining how to do that, it's probably because you are trying to run before you can walk: as Afzaal says, learn C++ thoroughly first before you try to move to complicated applications.

We aren't a code writing service: we are willing to help with specific problems, but nobody here wants to write a complete application and explain it just for you.


很多Google上的示例: https://www.google.com/search?q=port%20scanner%20c [ ^ ]。
Lots of samples on Google: https://www.google.com/search?q=port%20scanner%20c[^].


感谢所有我刚刚疯狂的初学者
thanks for all i just crazy beginner


这篇关于请用c ++帮助初学者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆