search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

2 answers
Q&A c++ - Are there any good ideas for multi-threaded socket sending and receiving?

0

A is the client’s socket
B is the server’s socket
A connect B TCP connection

Equal to A B establishing a tunnel

Various local requests are made to A, relayed to B for post-processing, and a bunch of data is returned

Then the question comes,
Is there any good solution to distinguish this pile of data and reply to the initiator?

Your Answer
submit

2 answers
0

Use higher-level protocols, such as HTTP.
Otherwise, encapsulate additional information (ID, type, ...) in request and response?

2017-07-06 10:36:26

submit

0

zeromq

2017-07-06 10:36:26

submit

Popular tool

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use