使用Win32 API为Windows创建套接字 [英] Create sockets for Windows using Win32 API

查看:72
本文介绍了使用Win32 API为Windows创建套接字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请给我代码,以便使用Win32 API为Windows创建客户端套接字.

Please, give me the code to create a client socket for Windows using Win32 API.

推荐答案

我建​​议您使用其他方法:


  • 第一:使用Google搜索代码和文档
  • 第二:尝试自己完成
  • 最后:提出具体问题,显示您的努力并发布重要的代码片段
I suggest you a different approach:


  • First: search with google for code and documentation
  • Second: try to do it by yourself
  • Finally: ask for specific problems, showing your effort and posting a significant code snippet


您可能会在此处找到大量有价值的代码示例:
Winsock入门 [
You may find tons of valuable code samples here:
Getting Started with Winsock[^].
:)


这篇关于使用Win32 API为Windows创建套接字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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