delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/09/08:51:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 9 May 2005 14:39:04 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sending packets from solaris to Cygwin
Message-ID: <20050509123904.GD3375@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <427DFFF2 DOT 2050202 AT sli-institute DOT ac DOT uk>
Mime-Version: 1.0
In-Reply-To: <427DFFF2.2050202@sli-institute.ac.uk>
User-Agent: Mutt/1.4.2i

On May  8 13:02, Nakul Haridas wrote:
> Hi,
> 
> The codes I have attached are similar to a eariler reported problem
> References: 
> <Pine DOT SOL DOT 4 DOT 33 DOT 0112060615220 DOT 15529-100000 AT azure DOT engin DOT umich DOT edu>
> 
> However I have my program working either in Solaris or Cygwin only. If 
> the server is on solaris and client on cygwin and vice versa , the 
> packet is lost. I cant figure out what the problem could be. I have also put
> 
> memset(&su_addr, 0, sizeof(su_addr));    /* server addr info */
>      su_addr.sin_family = AF_INET;
>      su_addr.sin_port = htons(MYPORT);
>      su_addr.sin_addr.s_addr = inet_addr(u_addr);
> 
> This should have solved the probelem but it didnt.
> Could youhelp me in this regards.

Probably not.  After working around the missing udp_ack.h in your attached
example code, I tried it between a Linux and a Cygwin box.
http://cygwin.com/acronyms/#WJFFM.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019