Winsock call to UNIX

Todd Goodman tsg@bonedaddy.net
Thu Sep 30 23:42:00 GMT 1999


Do you have the proper htons()/ntohs() and htonl()/ntohl() calls
around the ports and addresses?

> -----Original Message-----
> From: cygwin-owner@sourceware.cygnus.com
> [ mailto:cygwin-owner@sourceware.cygnus.com]On Behalf Of Zhang, John
> Sent: Thursday, September 30, 1999 5:57 PM
> To: cygwin@sourceware.cygnus.com
> Subject: Winsock call to UNIX
> 
> 
> I installed Be 20.1, finished porting on NT 40. compiled with
> libwinsock32.a.
> Now the socket calls work fine on NT when a client and a 
> server talking to
> each other.
> But when calling from NT to a UNIX (server or client), 
> sockets never go
> thru, i.e. a ported application cannot talk to the original UNIX
> application. 
> Any comment will be appreciated.
> 
> John
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list