Visual Studio 6.0中的UDP客户端实现 [英] UDP client implementation in Visual Studio 6.0

查看:475
本文介绍了Visual Studio 6.0中的UDP客户端实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在LINUX平台上运行用C ++编写的UDP套接字代码。 Winsock.h或Winsock2.h



我的任务是将其移植到Windows。不幸的是,我的开发环境是Visual Studio 6.0与LINUX上的gcc编译器世界有不同的结构。互联网搜索为我提供了大量的.net解决方案,但对VS6.0没有任何帮助。



有人可以指引我查看包含此类信息的链接或提供示例代码片段。



谢谢

I have functioning UDP socket code written in C++ from a LINUX platform. Winsock.h or Winsock2.h

My task is to port it to Windows. Unfortunately the development environment I have is Visual Studio 6.0 has differing constructs than the gcc compiler world on LINUX. Internet searches provide me plenty of .net solutions but nothing really for VS6.0.

Can someone either direct me to a link that contains such info or provide a sample code snippet.

Thanks

推荐答案

Google在输入将linux插槽移植到Windows时有很多链接 。



首批结果之一是MSDN文章:将套接字应用程序导入Winsock [ ^ ]。



而Winsock没有太大的改变,你应该考虑使用更新的Visual Studio版本而不是18岁的VS6。
Google has a lot of links when entering "porting linux socket to windows".

One of the first results is an MSDN article: Porting Socket Applications to Winsock[^].

While Winsock has not much changed, you should consider to use a newer Visual Studio version rather the 18 year old VS6.


链接非常有用,谢谢。


这篇关于Visual Studio 6.0中的UDP客户端实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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