www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/22/21:52:48

From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: libsocket over the net...
Date: Mon, 22 Jan 2001 22:54:35 +0000
Organization: Customer of Energis Squared
Lines: 45
Message-ID: <3A6CBA2B.F3FD6020@phekda.freeserve.co.uk>
References: <3A69FEFF DOT 7020104 AT operamail DOT com> <3A6A28C3 DOT 502361A2 AT phekda DOT freeserve DOT co DOT uk> <3A6A6E2B DOT 7000204 AT operamail DOT com> <3A6AFFBA DOT 5DB1B739 AT phekda DOT freeserve DOT co DOT uk> <3A6B8C5B DOT 7030504 AT operamail DOT com>
NNTP-Posting-Host: modem-239.nitrogen.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: newsg2.svr.pol.co.uk 980204874 14154 62.136.6.239 (22 Jan 2001 23:07:54 GMT)
NNTP-Posting-Date: 22 Jan 2001 23:07:54 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.17 i586)
X-Accept-Language: de,fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.

Sahab Yazdani wrote:
> 
> Richard Dawe wrote:
> 
> > What did you change? Why is the data no longer garbled? Knowing this
> > could help fix your other problems.
> 
> I decreased the size of the MassacreHeader packet by 6 bytes by
> decreasing the size of the "header" value to 4 bytes instead of 10, this
> seems to fix it, cuz it only needs 1 pass to read the data no matter
> what.
[snip]

Well, the minimum size of an IP packet is 576 bytes, so that should be
more than enough to hold the header data, whichever of these sizes is
used.
 
> > Which version of Windows are you using? Do you have Winsock 2
> > installed?
> I am using Windows 98 with WinSock 2 installed (obviously).
> 
> >
> > What does the libsocket demo program demo/diag.exe display? You can
> > capture its output like so:
[snip]
> included as attachment

Thanks, that looks OK.

When you test your program, do you do it over a dial-up link or is it over
Ethernet?

I can't really explain your problems. Would it be possible for you to send
me the source code? Then I could try to reproduce the problem when I have
some free time later this week.

Bye,

-- 
Richard Dawe <richdawe AT bigfoot DOT com> http://www.bigfoot.com/~richdawe/ 

"The soul is the mirror of an indestructible universe."
--- Gottfried W. Leibniz

- Raw text -


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