hi gb-freinds !

have a little bug in my programm:
i establish a connection to my server and bevor retrieving the welcome message the connection ist lost.



Well done...
Posted on 2003-05-01 09:12:17 by Bubu-Boy
You somehow remind me on Forignforcer....
Posted on 2003-05-01 10:17:27 by bazik
Yes, me too bazik


Bubu-Boy, could you post some error code, code, or something? We can not be of any help with no more information than that.

Have you looked at the RFC?
Posted on 2003-05-01 12:25:24 by gorshing
???
Posted on 2003-05-01 12:58:11 by Bubu-Boy
:eek: somebody here would benefit from reading the socket articles at www.madwizard.org :eek:
Posted on 2003-05-01 13:03:58 by f0dder
I seems to be a stealth mistake.
If you see it, please tell me.
sure i can read through the whole internet, but thats not my intention.
im blind right now, perhabs you can find it.

wel done... see you later
Posted on 2003-05-01 13:09:06 by Bubu-Boy
You don't need to read through the entire internet. For now, you just need to read some decent winsock information (www.madwizard.org), since (judging from your code) you have missed quite some points.
Posted on 2003-05-01 13:12:57 by f0dder
fl0dder I will do!
But am I right ? you know what i have not done, but dont want wo tell me what?
why i m asking you, when i get the answer you have make a mistake? i already know, that something have to be wrong.

but i will read your tut after beeing back from gb i will have read ist.

well done..perhaps you can see you in the attitute do betray my mistake.
nice time.
Posted on 2003-05-01 13:33:11 by Bubu-Boy
Search this forum for postings by "forignforcer" and start reading them all. Expecially the friendly replies he got :rolleyes: :tongue:
Posted on 2003-05-01 13:35:39 by bazik
Hi

in watiaw procedure:

INVOKE send,sock,commandts,1, 0


1.Why are you always sending a message of size 1 ?
2.comandts is an addrest of a buffer is it not?

so you should:


mov eax,[comandts]
INVOKE send,sock,eax,1, 0


Also i think you should add another param to this function i.e. the size of the send buffer, and so you will avoid the "1" above

This was at first glance ... i will eventually check it more if new code you write still dosent work. IMHO this method of Sleep for syncro / wait there needs a redo...like many things also
Posted on 2003-05-01 15:17:20 by BogdanOntanu
Posted on 2003-05-01 16:25:16 by gorshing
PS
=====
I edited your message and added :

[ code ] and [ / code ]

without the spaces ... first above and seccond below your code to make it look better... tell me to undo it IF you do not like it ... but this is standard procedure when posting code here
Posted on 2003-05-01 17:08:31 by BogdanOntanu
hey guys, after modifying some parts of my prog i'm back!
Posted on 2003-05-10 06:17:15 by Bubu-Boy
Thanks for the laugh, I needed it, really.
I'm sure you realize that you don't fetch mail this way !!!
This is (if it was right) how you might send mail :rolleyes:
Posted on 2003-05-11 02:49:51 by Homer
**** EvilHomer2k :confused:
Please dont play jokes on me. Im realy confused! :confused:
Im trying the whole night to do that ! Im very tyred know and will go to bed now!
Perhaps you can help me, after laughng.

[...]
[...]
[...]

Are you redy with laughing? - Great:
Im tying to send a mail, and because of a little intelligenz I have, I send the mail to my account (wich neddn't authetification). :grin:
Have got it ? - I dont want to retrieve a mail anyway. - But I have to test, whether it works.
Posted on 2003-05-11 03:01:38 by Bubu-Boy