我想开发一个基本的 Linux 终端 IM 客户端
我是一名 19 岁的小伙子,拥有“基本”编程技能,主要是 C 和 PHP。 我来自阿根廷,如果我错过了语法方面的内容,我很抱歉。
好吧,我很想扩展我的编程技能,但我需要一个项目,因为没有目标的挑战和练习不会让我感兴趣。阅读有关编程语言或如何在没有目标的情况下关注这个或那个问题是没有用的。 所以,我一直在一个项目中思考,我想到的都是尚未创建的东西,或者对我来说太困难了,或者其他什么。
但我想从一个在 Linux 终端中运行的 IM 客户端开始,将来当我熟悉协议和那些东西时,将其移动到 Linux 或 Windows 操作系统中的图形环境。
对于终端,我正在考虑像 Pebrot 这样的东西,简单和基本,但是通过 LAN,这样你就可以与同一工作组中的人聊天,就像我可以在另一个房间问我妈妈一些事情,只是基本,而且只是 LAN,不在我的路由器之外。
将来我想添加一个 google talk 客户端。
在图形区域中,我想做 LAN 客户端,但带有弹出窗口和所有内容。
问题是。 如果你能在项目开始时帮助我,因为我不知道从哪里开始。 我的意思是,我需要什么,你推荐什么。
谢谢。
I'm a 19 years old guy with "basic" programming skills mostly on C and PHP.
I'm from Argentina, so sorry if i miss something in the grammar area.
Well, i would LOVE to expand my programming skills, but i need a project, because the challenges and exercises with no target don't enthusiast me. And reading about the programming language or how to focus this or that problem with no objective its useless.
So, i've been thinking in a project, nothing came to my mind that is not created yet, or it's to difficult to me, or something.
But i would like to start with a IM client that would run in a Linux terminal, and in a future when im comfortable with the protocols and that stuff, move it to a graphical environment in Linux or Windows OS.
For the terminal I'm thinking in something like Pebrot, simple and basic, but over LAN, so you could chat with people on your same workgroup, like i can ask my mom something in the other room, just basic, and just LAN, not outside my router.
In a future i would like to add to it a google talk client.
In the graphical area i would like to do the LAN client, but with popups and everything.
THE QUESTION IS.
If you could help me in the beginning of the project, because i don't know where to start.
I mean, what i need and what do you recommend.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该研究使用 python 进行套接字编程以及编写一个简单的客户端/服务器。 Python 实际上是一种非常适合此目的的语言,因为它使套接字编程变得很容易。比使用 C 语言容易得多。
这是一个很好的资源:http:// /heather.cs.ucdavis.edu/~matloff/Python/PyNet.pdf 开始。
You should look into socket programming with python as well as writing a simple client/server. Python is actually a very good language for this as it makes it easy to do socket programming. Much easier than, say, using C.
This is an excellent resource: http://heather.cs.ucdavis.edu/~matloff/Python/PyNet.pdf to get started.