wsadata1 WSADATA <>

INVOKE WSAStartup, 200h, ADDR wsadata

When I check, whether the function was successfuly, i dont get a NULL.

Are you also confused ?

P.S. Could someone suggest some more uts about d?nersock-programming ? -the one if icz i already read. THX
Posted on 2003-04-17 10:47:49 by Forginforcer
Probably just a typo in the post, but...

wsadata1 WSADATA <>

INVOKE WSAStartup, 200h, ADDR wsadata <--- where's the "1" ?

i've actually done that a couple of times
Posted on 2003-04-17 10:57:30 by NervGaz

Read about the arguments of which that functions takes.
Posted on 2003-04-17 10:58:03 by gorshing
Yes, its just a typo. I have 2 wsadata strucs

What should I do, gorshing ?
Posted on 2003-04-17 11:29:37 by Forginforcer

wsadata1 WSADATA <>

INVOKE WSAStartup, 0002h, ADDR wsadata1

Posted on 2003-04-17 11:43:21 by roticv
Hey Forgin...

Do i get an distinct feeling about you making fun of us?

There is such an easy error in the above code...

Man you really ... really can not find it?

I mean how many caracters are there in to serarch for errors?

Tips: what version of sockets are you hunting for?
Posted on 2003-04-17 11:44:23 by BogdanOntanu
Plus my hint of Read

Plus I gave him a link to read and he still asks
What should I do, gorshing ?

that was an actually typo, thanks bazik
Posted on 2003-04-17 12:12:53 by gorshing
Bogdan, gorshing,
you are just making fun of him by adding spelling errors to your replies ;)
Posted on 2003-04-17 12:24:22 by bazik
Do you have childs ?
You seem to be very ununderstaning.
In education there a two topmost inmportand things: love && understaning.
With your testimony your show, that you havn't both of them, because you place me in blame, can NOT accept real novices and errros, wich can a beginner make or even occurs in this tutorial(that could also be an error):

simply search for 200 and you will explorer this line:
If you want to specify version 1.1, use 101h if you want to use version 2.0, use 200h

And in advance I talked about a simple winsock, and noone said, that 200h is wrong.

I will try 2h know ! Thanks a lot !
Posted on 2003-04-17 12:28:49 by Forginforcer
thanks ! Perhaps I'm very newbie, but that can't be apology to say such bad things.
Maybe I'm a bad programmer, but I can accept other peoples. Nad thats very important.

I have treyed your sugestions and its work fine ! *hihi*
Did you saw the site I gave you ? There is an error ! - isn't it ?

Deep regards FF.

P.S. gorshing,
and roticv

Posted on 2003-04-17 12:58:12 by Forginforcer
Now I can mess around a little bit ! - Thanks !

P.S. Is there a mistakre at the IP declaration ?
Posted on 2003-04-17 13:42:31 by Forginforcer