Re: How to release socket connection on Proxy object

Irmen de Jong <[email protected]>
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
On 5-1-2013 14:15, Pierre PACORY wrote:
> I found a solution on linux (for windows don't know ...)
> just edit thoses 2 "proc" files and add "1"
> 
> *echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle*   (It enables fast recycling of TIME_WAIT
> sockets)
> *echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse*  (This allows reusing sockets in TIME_WAIT
> state for new connections when it is safe from protocol viewpoint)
> 
> The socket close immediatlly after the return of the Proxy object Method
> 
> Hope that could help


... is there something wrong with proxy._pyroRelease() ?

Irmen


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.