You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are use cases where this API is used by a service multiple times within a given minute. Wouldn't it be beneficial to have a predefined socket created and use the same socket for all send and/receive instead of creating a new socket on every invocation of the API i.e. avoid calling _create_socket on every invocation thus saving on socket lifecycle?
The text was updated successfully, but these errors were encountered:
tkekan
changed the title
Use predefined socket either SOCK_DGRAM / SOCK_RAW on every invocation of ping API.
Use predefined socket either SOCK_DGRAM / SOCK_RAW on every invocation of ping API
Jan 11, 2024
There are use cases where this API is used by a service multiple times within a given minute. Wouldn't it be beneficial to have a predefined socket created and use the same socket for all send and/receive instead of creating a new socket on every invocation of the API i.e. avoid calling _create_socket on every invocation thus saving on socket lifecycle?
The text was updated successfully, but these errors were encountered: