question

Yue Y avatar image
0 Likes"
Yue Y asked Benjamin W2 answered

How many concurrent http connections(sockets) can we have?

Is there any upper limits on concurrent http requests/TCP connects? I remember I read from somewhere that the maximum is 50 but I couldn't found the source. Is this number still accurate?

FlexSim 19.1.0
socketweb communicationtcp
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Benjamin W2 avatar image
0 Likes"
Benjamin W2 answered

Hi @Yue Y,

I found this in the Alphabetical Command Reference:

clientcreate ()

Creates a new client socket with TCP/IP protocol

Description This command creates a new client socket that is set to communicate using the TCP/IP protocol. FlexSim can create up to fifty client sockets at one time. Each client can be connected to a different server. This function returns a number that must be stored by the model to reference the socket that was created. If an error occurs, this function returns 0. Example int socknum = clientcreate();

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.