How to close socket with eventmachine?

How can i close a socket with eventmachine?

If i use close_connection, the socket remains running and if i use
stop_event_loop the entire program exite.

···

--
Posted via http://www.ruby-forum.com/.

Diego Bernardes wrote:

How can i close a socket with eventmachine?

If i use close_connection, the socket remains running and if i use
stop_event_loop the entire program exite.

close connection should work like a champ. you might repost to the EM
mailing list, too.
=r

···

--
Posted via http://www.ruby-forum.com/.