描述
This function receives a message on SOCKET attempting to read LENGTH bytes, placing the data read into variable SCALAR.The FLAGS argument takes the same values as the recvfrom( ) system function, on which the function is based. When communicating with sockets, this provides a more reliable method of reading fixed-length data than the sysread function or the line-based operator <FH>.
语法
以下是此函数的简单语法-
recv SOCKET, SCALAR, LEN, FLAGS
返回值
此函数在标量context中返回:错误时为undef或读取的字节数。
Perl 中的 recv函数 - 无涯教程网无涯教程网提供描述This function receives a message on SOCKET attempting to read LENGTH bytes,...
https://www.learnfk.com/perl/perl-recv.html













![【深度学习】遗传算法[选择、交叉、变异、初始化种群、迭代优化、几何规划排序选择、线性交叉、非均匀变异]](https://img-blog.csdnimg.cn/9b328783005d4848ab6b2df48e8d03bd.png)





