*BSD News Article 31116


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!werple.apana.org.au!news
From: gfm@werple.apana.org.au (Graham Menhennitt)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Software port problem
Date: 1 Jun 1994 18:40:16 +1000
Organization: werple public-access unix, Melbourne
Lines: 11
Message-ID: <2shhhg$ora@werple.apana.org.au>
References: <770421312snz@casa.demon.co.uk>
NNTP-Posting-Host: werple.apana.org.au
X-Newsreader: TIN [version 1.2 PL1]

Matthew de Woeps (freebsd@casa.demon.co.uk) wrote:
:       This is  my problem. If the client,  server are both  run on the same PC
:   all is fine. When the two have to communicate over the ethernet, the client
:   gets forcefully rejected but if I telnet from the same xterm process to the
:   same host socket the connection is a least made.

My guess is that the problem is byte order. You aren't calling ntohs/htons
or ntohl/htonl somewhere you should be.

Good luck,
	Graham