From: Larry on
Hi,

I am studing how to create sockets by using the winsock2.h and ws2_32.lib
.... I have to admit it is really hard to code something for the moment...is
there any good (free) class to deal with sockets ina simpler way? I would
like to create a tiny server which serves more clients at the same time...

thanks

From: Fred on
"Larry" <dontmewithme(a)got.it> a �crit dans le message de news:
4b53489e$0$821$4fafbaef(a)reader5.news.tin.it...
> Hi,
> I am studing how to create sockets by using the winsock2.h and ws2_32.lib
> ... I have to admit it is really hard to code something for the
> moment...is there any good (free) class to deal with sockets ina simpler
> way? I would like to create a tiny server which serves more clients at the
> same time...

There are plenty of samples on Google.
Like :
http://www.adp-gmbh.ch/win/misc/sockets.html


From: David Schwartz on
On Jan 17, 9:27 am, "Larry" <dontmewit...(a)got.it> wrote:

> I am studing how to create sockets by using the winsock2.h and ws2_32.lib
> ... I have to admit it is really hard to code something for the moment...is
> there any good (free) class to deal with sockets ina simpler way? I would
> like to create a tiny server which serves more clients at the same time....

In my experience, that's a mistake. That just makes it so that you
have to learn both sockets and that class at the same time. And when
something goes wrong, it's hard to figure out whether it's a socket
thing or a class thing.

You can definitely use classes to simplify working with sockets. But
you really should learn sockets first.

DS
From: Larry on

"Fred" <fred(a)caly.fr> ha scritto nel messaggio
news:hivnl6$h8f$1(a)news.albasani.net...
> "Larry" <dontmewithme(a)got.it> a �crit dans le message de news:
> 4b53489e$0$821$4fafbaef(a)reader5.news.tin.it...

> There are plenty of samples on Google.
> Like :
> http://www.adp-gmbh.ch/win/misc/sockets.html

That really suits me down to the ground for the moment! thanks

From: Charlie Gibbs on
In article <4b5370a4$0$1119$4fafbaef(a)reader2.news.tin.it>,
dontmewithme(a)got.it (Larry) writes:

> "Fred" <fred(a)caly.fr> ha scritto nel messaggio
> news:hivnl6$h8f$1(a)news.albasani.net...
>
>> "Larry" <dontmewithme(a)got.it> a �crit dans le message de news:
>> 4b53489e$0$821$4fafbaef(a)reader5.news.tin.it...
>
>> There are plenty of samples on Google.
>> Like :
>> http://www.adp-gmbh.ch/win/misc/sockets.html
>
> That really suits me down to the ground for the moment! thanks

Here's another good one:

http://www.beej.us/guide/bgnet

--
/~\ cgibbs(a)kltpzyxm.invalid (Charlie Gibbs)
\ / I'm really at ac.dekanfrus if you read it the right way.
X Top-posted messages will probably be ignored. See RFC1855.
/ \ HTML will DEFINITELY be ignored. Join the ASCII ribbon campaign!