FASt Server - Win32 Socket Library and Tutorial ....

Started by James Ladd, January 15, 2005, 02:41:51 AM

Previous topic - Next topic

WinCC

This causes an error:   

1: start fastsvr.exe
2: start a console type telnet 127.0.0.1 9080
3: type something in that console eg. yyyy
4: start another console, type telnet 127.0.0.1 9080 -- boom fastsvr dies with  The instruction at 0x7c812009 referenced memory at 0x00000000. The memory could not be read

Regards WinCC

OS = Windows 2003 Enterprise Server  + SP1

James Ladd

Hmmmmn, just tried again and I dont get what you get. Dang.
Im running Win2k Pro where I am at present. Ill try at home on XP.

Mark - Any help tracking down the issue would be greatly appreciated.

Have you compiled with the service pack 2 for masm ?

Mark Jones

Yes James I just recompiled main.asm using all the MASM latest files. It compiles and runs fine, until that second connection happens. I tried stepping through the code in Olly, but it keeps locking up on the 'listen' winsock proc. I'm trying an INT3 next.

During testing with MemProof, it showed some general anomalies like memory pooling and an issue with HeapFree and Overlapped I/O per byte transferred. Give it a try: http://www.automatedqa.com/downloads/memproof/
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

James Ladd

#168
Mark,

What a great application memproof is.
Now if only I could interpret the results :)

If you ignore the GetStdHandle issues which come from using "invoke StdOut, addr message" then there isnt a great deal
its warning about. At least that is how I read it.

Thanks for looking into this. Still not sure why it crashes on you though.

UPDATE: Anyone els ehaving issue running FAStServer ?

Rgs, striker.

roticv


Mark Jones

 Do you get results like these James? Maybe we're not seeing the same things.



"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

James Ladd

Mark,
I do get similar results but I dont think I am running things as long as you.
My memory current/peak is not like yours.
I can see your running under XP but when I did a memproof is was not under XP.
Ill run it under XP and see.
Rgs, James.

ctt

Sorry to bust in into this conversation about something completly diffrent ... but about your dog :D
My dogs best friend is just such a dog :) Lovely small drewlmakers that breed... and where "bully" when they play.
And No ... i don't think it was your wife dressing the dog upp either ;) I know mine didnt! :D

Now about your server app. and no i didn't read the license file :red can i use some of it for my own program without any dull rules and regulations?

James Ladd

ctt,

My dog is a "pug" and she is called gretel which suits her.
Your dog looks great too and im sure he/she is a lot of fun.
I do have to own up to my wife dressing her up. She thinks she could be cold
at times. hehehe.

As for FASt Server. Please use any and all of it as you will.
If you make an improvement, please let me know about it so I can put it back into my version.

Rgs, James.

ctt

Pug, hmm wonder if thats the english name or something or maybe it's a diffrent breed, i think we call that breed "Mops", at least here in sweden.
My girl is a bullterrier and yeah a lot of fun it is ... but sometimes not as fun also :wink
If i just could keep track of all shoes she eaten during her first year  :naughty:

I dont think i will make any improvements to your code, the opposit is possible though ;) I let you know if i do something that i think you can have use of. Thanks!

James Ladd

ctt,
Dont froget to let me know how you use FAStServer. How people use it is of interest and it will also
influence modifications and enhancements etc.
Rgs, James.

hutch--

I am jealous of all of these good looking dogs. James has his in a teapot cosy for apparently fashion reasons.  :bg ctt, I like Bull terriers, a friend had one across the road called Baxter and when I used to play with him, he used to try and chew my arm off while being friendly. He was that strong he cracked one of my ribs playing with him.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

ctt

Quote from: hutch-- on July 16, 2005, 11:13:26 PM
I am jealous of all of these good looking dogs. James has his in a teapot cosy for apparently fashion reasons.  :bg ctt, I like Bull terriers, a friend had one across the road called Baxter and when I used to play with him, he used to try and chew my arm off while being friendly. He was that strong he cracked one of my ribs playing with him.

I can see why you like bullterriers ;) They are very friendly dogs and loves everything including eating for the cats toilet, chewing on my nose when im sleeping, getting really nuts and running around the appartment in 50km/h and knocking everything down, and the part you said, chewing on the ppls they like to play with the most, lovely loving chews :)
No broken ribs here yet, just a minor skullfracture ;) when she knocked me down jumping and hit me in the head with hers.  :dazzled:

BACK TO TOPIC!

@James: I'll let you know!! :)


James Ladd

ctt thanks.
hutch - its not a tea-cosy, its a hoodie. No I did not buy it. Wife did.

Rgs - James.

James Ladd

All,

Sorry for not having an update to FASt Server yet. I have been really busy with work.
Its still an active project for me, so please continue to be patient.

Comments, suggestions or other on FASt is welcome.

Rgs, James (striker)