Re: Transmission problems on 64 bit AMD processors but not 32 bit AMD processors



The thing is that I send raw data and recieve it with telnet. The reason for
telnet is that I want to isolate the bug and I assume that telnet is
bugfree. And the server is a 32 bit application running on 32 bit windows on
a Athlon 64 system, so it's not ported in any way.

If I put a delay in the send-loop, everything works. If I step throu the
loop everything works too, but if I run the program without any delays, only
the first bytes are sent.

My theory of what is happening when you don't have a delay is that the
internal winsock send buffer is filled and some type of buffer overflow
occur. Because of the Data execution prevention (DEP) in the Athlon 64, the
socket is terminated without any notice. But then, others would have the
same problem i guess...

// Fredrik

>
> What diagnostics does your server produce? Any particular errors you
> receive? Did you try to debug your server?
> Generally when something fails to work after porting to a different word
> size the fault is in your code.
>
> --
> Eugene
> http://www.gershnik.com
>
>


.



Relevant Pages

  • Re: Transmission problems on 64 bit AMD processors but not 32 bit AMD processors
    ... What happens is that the server stops in the while-loop after trying sending ... I know how to reproduce the bug. ... >> The thing is that I send raw data and recieve it with telnet. ... >> If I put a delay in the send-loop, ...
    (microsoft.public.win32.programmer.networks)
  • Re: TNEF winmail.dat data disappears
    ... Exchange server? ... The size shown during the SMTP conversation (MSW to Exchange) is ... raw data stream. ... telnet 110 ...
    (microsoft.public.exchange.admin)
  • Re: inetd to take telnet request
    ... flavours of TELNET here - so I read on. ... I know about INETD only from long ago with the RS/6000 UNIX, ... server applications" in the CS IP Configuration Guide: ...
    (bit.listserv.ibm-main)
  • Re: Product for Running Embedded C# Application
    ... Telnet sessions or Web sessions with our Web server on the device and a lot ... There's a Telnet server available to Windows CE ... communicates with specific hardware and forwards data to a back end ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: RDP access to SBS 2003 - HELP please
    ... Might I add that 'out of the box', when I first got the server it worked ... of it to the telnet prompt and quit. ... Try the remote desktop connection to see if it works. ... the effect that it can't connect to xxx.xxx.xxx.xxx port 23. ...
    (microsoft.public.windows.server.sbs)