By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,510 Members | 1,164 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,510 IT Pros & Developers. It's quick & easy.

Sockets server multithread

P: n/a
hello
I need a sample of a server with multithreading accept connections with
sockets...

Have anyone?

Thanks,
Crirus
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On 2003-10-30, Crirus <Cr****@datagroup.ro> wrote:
hello
I need a sample of a server with multithreading accept connections with
sockets...

Have anyone?

Thanks,
Crirus


This kind of thing is best done using the asyncronous socket methods.
There is an example of creating a server in the Framework SDK docs that
would probably be useful to you.

--
Tom Shelton
MVP [Visual Basic]
Nov 20 '05 #2

P: n/a
I can bet there is.. have a link to it? :)

Crirus
"Tom Shelton" <to*@mtogden.com> wrote in message
news:Oo**************@tk2msftngp13.phx.gbl...
On 2003-10-30, Crirus <Cr****@datagroup.ro> wrote:
hello
I need a sample of a server with multithreading accept connections with
sockets...

Have anyone?

Thanks,
Crirus


This kind of thing is best done using the asyncronous socket methods.
There is an example of creating a server in the Framework SDK docs that
would probably be useful to you.

--
Tom Shelton
MVP [Visual Basic]

Nov 20 '05 #3

P: n/a
On 2003-10-31, Crirus <Cr****@datagroup.ro> wrote:
I can bet there is.. have a link to it? :)

Crirus
"Tom Shelton" <to*@mtogden.com> wrote in message
news:Oo**************@tk2msftngp13.phx.gbl...
On 2003-10-30, Crirus <Cr****@datagroup.ro> wrote:
> hello
> I need a sample of a server with multithreading accept connections with
> sockets...
>
> Have anyone?
>
> Thanks,
> Crirus
>
>


Sorry...

I would start here:

http://msdn.microsoft.com/library/de...consockets.asp

There are examples of an async client and server in the code samples
section.

--
Tom Shelton
MVP [Visual Basic]
Nov 20 '05 #4

P: n/a
OK, I've done that
Now I need a flood handler
You know, If someone keep pressed refresh browser button, I receive hunderts
of request that cant handle anyway because the client is closed and opened
on new refresh...there is a way to drop invalid requests?

Crirus
"Tom Shelton" <to*@mtogden.com> wrote in message
news:eX**************@TK2MSFTNGP10.phx.gbl...
On 2003-10-31, Crirus <Cr****@datagroup.ro> wrote:
I can bet there is.. have a link to it? :)

Crirus
"Tom Shelton" <to*@mtogden.com> wrote in message
news:Oo**************@tk2msftngp13.phx.gbl...
On 2003-10-30, Crirus <Cr****@datagroup.ro> wrote:
> hello
> I need a sample of a server with multithreading accept connections with > sockets...
>
> Have anyone?
>
> Thanks,
> Crirus
>
>

Sorry...

I would start here:

http://msdn.microsoft.com/library/de...consockets.asp
There are examples of an async client and server in the code samples
section.

--
Tom Shelton
MVP [Visual Basic]

Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.