<div dir="ltr">Hi Erlangers,<div><br></div><div>I am doing a server to serve a flash application. When a flash client establish a connection(tcp socket) it sends a policy request (xml format message) and the server must reply with a policy file (xml file). After this exchange the client can connect to the socket as a regular connection.</div><div><br></div><div><br></div><div>When I accept the connection the socket have a {packet,0} option set and checks if is a policy request and sends the policy file back. After this I change the option to {packet,4} but I do not receive anymore data. If I stay with {packet,0} I will receive the binary data sent by the client</div><div><br></div><div><br></div><div>Any one knows about any problem with changing socket options after receive some data?</div><div><br></div><div>thanks<br clear="all"><div><div class="gmail_signature">--<br>Pedro Marques da Silva<br>---------------------------------------------------<br>E-mail Pessoal : <a href="mailto:posilva@gmail.com" target="_blank">posilva@gmail.com</a><br>---------------------------------------------------</div></div>
</div></div>