如何使用telnet在窗口中连接server.c和client.c [英] how to connect server.c and client.c in window by using telnet

查看:215
本文介绍了如何使用telnet在窗口中连接server.c和client.c的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经拥有服务器代码和客户端代码,只是如何使用它并使用puttytelnet进行连接。我在用窗户。任何例子?

谢谢。我只是学习套接字编程。

i already have server code and client code just how to use it and connect by using puttytelnet . I am using window. Any example?
thanks.I just learn socket programming.

推荐答案

Server.c和client.c不会帮助你,因为它们是源代码代码,你需要使用你拥有的任何IDE将server.c编译成server.exe和client.c到client.exe文件中。



一旦你构建了exe文件您需要将server.exe复制到单独的计算机上,然后在该计算机上运行它。下一步是在另一台机器上运行client.exe并使用您实现的任何协议。只是为了帮助你更多,server.exe和client.exe可以在同一台机器上运行。
Server.c and client.c won't help you as they are the source code, you need to compile server.c into server.exe and client.c into client.exe files using whatever IDE you have.

Once you build the exe files you need to copy server.exe onto separate machine and then run it on that machine. The next step is to run client.exe on yet another machine and use whatever protocol you have implemented. Just to help you more both server.exe and client.exe can be run on the same machine.


这篇关于如何使用telnet在窗口中连接server.c和client.c的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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