Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tzhong

    Threading in Perl

    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"...
  2. tzhong

    Help! How to intercept IE traffic using a plugin?

    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...
  3. tzhong

    8-)winsock question on select() and IOCompletionPort

    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...
  4. tzhong

    [bold]How to tell a R/W event when IOCP entry is available?[/bold]

    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...
  5. tzhong

    What's the limit for select() on winNT/2000 server?

    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...
  6. tzhong

    What's the limit for select() on winNT/2000 server?

    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...
  7. tzhong

    MSDN samples download looks up for setup CD?

    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
  8. tzhong

    2 handles for each connection??

    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...
  9. tzhong

    8-:)TCP/IP connections

    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
  10. tzhong

    8-:)TCP/IP connections

    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
  11. tzhong

    HELP!!!! What's the maximun number of file handles on windows?

    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

Part and Inventory Search

Back
Top