binding a port number to a TCP socket (outgoin) to send packets

前端 未结 3 1173
被撕碎了的回忆
被撕碎了的回忆 2021-01-14 05:22

I know that it is not easy to bind a port number to TCP socket that you would use to send data (because systems usually bi

3条回答
  •  情歌与酒
    2021-01-14 06:10

    Actually it is quite easy. Simply use the bind function as you would for a server.

提交回复
热议问题