Socket Programming, Casting sockaddr_in to sockaddr. Why?

后端 未结 0 1851
鱼传尺愫
鱼传尺愫 2021-02-15 18:20

Here is a sample socket programming snippet from the client side. My question revolves around the type-casting that casted sockaddr_in into sockaddr. My question is that why is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题