Subject: Re: Network socket application problem
To: Joe Magee <jmagee@starrider.com>
From: Giles Lean <giles@nemeton.com.au>
List: netbsd-help
Date: 09/27/2002 20:09:53
Joe Magee wrote:
> I am creating an application utilizing sockets. However, the client always
> reports connection refused.
Can we see some code? If you're using a PC it could be as simple as
failing to swap something from host to network byte order.
> I can duplicate this problem using sample code from Wrox Beginning Linux
> Programming Second Edition.
FYI much of the code in that book was tested on NetBSD as well as
Linux, so in theory it should be OK.
> Any ideas on why application based sockets behave this way?
Not yet ... test case?
Regards,
Giles