From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11646 invoked by alias); 26 Mar 2013 02:14:08 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 11562 invoked by uid 89); 26 Mar 2013 02:14:00 -0000 Received: from mail-wi0-f175.google.com (HELO mail-wi0-f175.google.com) (209.85.212.175) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 26 Mar 2013 02:14:00 +0000 Received: by mail-wi0-f175.google.com with SMTP id c10so69682wiw.2 for ; Mon, 25 Mar 2013 19:13:58 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.110.69 with SMTP id hy5mr21730048wjb.1.1364264038281; Mon, 25 Mar 2013 19:13:58 -0700 (PDT) Received: by 10.180.146.233 with HTTP; Mon, 25 Mar 2013 19:13:58 -0700 (PDT) Date: Tue, 26 Mar 2013 02:14:00 -0000 Message-ID: From: cyl cyl To: eCos Users Content-Type: text/plain; charset=ISO-8859-1 Subject: [ECOS] I want to redo tcp_init(); X-SW-Source: 2013-03/txt/msg00058.txt.bz2 Hello everyone : I am using freebsd stack (ecos3.0) . I hit a problem . If other machines give me packages very frequently , my tcp will stop, it's a random event. Other machines can not connect me any more ( " sonewconn() fails "). But udp still works . Is it ok to redo "tcp_init();" when "sonewconn()" fails ? Is there anything I should free? Or other better solutions? Thanks for anything. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss