<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>Hi, </div>
<div><br>
</div>
<div>With a ssl_socket, I tried to get a fixed number of bytes through en_tcp:recv(SslSocket, 1) but failed. </div>
<div><br>
</div>
<div>The stack trace pointed to:</div>
<div><br>
</div>
<div>
<div>** {function_clause,[{gen_tcp,recv,</div>
<div>                              [{sslsocket,{gen_tcp,#Port<0.1418>},<0.534.0>},</div>
<div>                               1],</div>
<div>                              [{file,"gen_tcp.erl"},{line,280}]},</div>
</div>
<div><br>
</div>
<div>Does that means gen_tcp:recv function does not work with Ssl socket? </div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Zhongxian</div>
</div>
</body>
</html>