sending packets from solaris to Cygwin

Nakul Haridas Nakul.Haridas@sli-institute.ac.uk
Sun May 8 13:02:00 GMT 2005


Hi,

The codes I have attached are similar to a eariler reported problem
References: 
<Pine.SOL.4.33.0112060615220.15529-100000@azure.engin.umich.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.

With warm regards.

Nakul
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: eclient.c
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050508/8158131d/attachment.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: eserver.c
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050508/8158131d/attachment-0001.c>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list