Home > database >  Socket consult in pb
Socket consult in pb

Time:09-27

Want to make a TCP server with pb, bad mswinsck found with concurrent processing, use powertcp, seems to need a server control and winsock tool match up with, the internal implementation multi-threading, one for children ole object, but after registration, object in the object browser to check the childer in pb, the inside of the attribute method all have no, is very strange, I don't know which brother worked in pb to use powertcp TCP server, or other means, application eventually concurrency should be within 1000,

CodePudding user response:

PowerTCP Server for ActiveX component will be fine, don't need a winsock tool.
The Dart Server Control -- DartServer. DLL
The Dart Tcp Control -- DarSock. DLL

CodePudding user response:

Childer object attributes only one count,
Such as ole_server. Object. Children. Count

Childer object method is only one item,
Such as ole_server. Object. Children. Item (ole_server. Object. Children. Count)

CodePudding user response:

Thank sam_info, but after I register controls, attributes of the object in the object browser can't see the childern method, error by count property directly, is it my pb has a problem? I wonder if you used?
In addition, have you ever used pslib21 + winsock. PBL method, found that can well solve the problem of concurrency, but found 8 k data limit, don't know what is the way to
Thank you again!

CodePudding user response:

Concurrency one thousand, not much,
I have a csocket used in resource,

If the concurrency is very much, can use the iocp + socket pool
To finish,

The socket pool, is actually built a batch of socket, use a stack or save table, reuse,

Iocp is an I/O completion port model

CodePudding user response:

Winsocket internal is multithreaded with winsocket directly is the most convenient
  • Related