send bitmap with winsock

只愿长相守 提交于 2019-12-06 07:27:35

What programming language are you using?

Basically, you've got to store the bitmap data into some kind of byte buffer, then send the bytes over the wire, and read the bitmap back out of the byte buffer at the other end.

As such, there are four tasks:

  • Save bitmap to buffer
  • Write data across wire using a socket
  • Read data from wire using a socket
  • Load a bitmap from a buffer

Which tasks in particular are you not clear about?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!