I am trying to do some threading with perl, and my simple script just refuses to work:
#!C:/perl/bin/perl.exe
use strict;
use IO::Socket;
use Thread;
use Config;
$Config{useithreads} or die "Recompile Perl with threads to run this program.";
sub foo2 {
sleep(5);
print "foo2"...
Hi,
I am working on a project trying to come up with an IE plugin to sniff IE's request/response and modify it if necessary. The flow should be like:
user request-> my module -> IE http module
server response -> IE http module -> my module -> IE rendering machine
And since I want to make...
I'm going to port some program from solaris to win32, and wrote two little programs to compare the performance between IOCompletionPort and windows select() with only ONE worker thread. As expected, their performance are close. But to my surprise, for the one using select()to poll socket...
Hi, I have another question on Io completion port:
for poll()/select() on unix, we know the event on the socket is a read or write message by looking at the event_out(poll) or comparing the bit(select). When I call GetQueuedCompletionStatus() and it returns with an I/O completion entry, how do...
I wrote two little programs to compare the performance between IO Completion Port and windows select() with only one worker thread. As expected, their performance are close. But to my surprise, for the one using select()
to poll socket status, every time when the number of connections reaches...
I wrote two little programs to compare the performance between IO Completion Port and windows select() with only one worker thread. As expected, their performance are close. But to my surprise, for the one using select()
to poll socket status, every time when the number of connections reaches...
Hi there,
I installed MS Visual studio 6.0 and MSDN in the same package. But each time I tried to download a sample file, it asks for MSDN installation disk. I did a full installation for MSDN, which should eliminate all CD swaps.
Could anyone help on this?
Thanks!
Tim
I noticed that whenever my listening socket accept a new connection, 2 new handles are used (by watching the Task Manager). Why? In this way, I can only accept upto 32k connections instead 64k since system will use up all available handles!
I am using the following code:
....
/* Create a...
Hi pbx,
Thanks for the response. But does windows handle TCP/IP connections the same way for files (they both use handles)? I tried to open 1Meg file handles the same time but only crashed the program in the initialization phase.
Thanks!
-Tim
Hi there,
What's the maximum TCP/IP connections I can open concurrently on NT4.0(server)? how about windows2000?
I can't find any documentation on it anywhere. Please help!
-Tim
I am doing some porting work from solaris to NT, but can't find any documentation about the max number of file handles on windows. So what's the max number of connections a server can open? 64K?
Thank you in advance.
Tim
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.