MCPcopy Create free account
hub / github.com/VKCOM/kphp / socket

Class socket

runtime-light/stdlib/file/resource.h:620–668  ·  view source on GitHub ↗

FIXME: Address Buffered Socket Data Loss Issue Problem Description: This class implements buffered I/O for socket operations. A potential issue arises when a user creates a socket and stores it in a global variable. If the user writes data to the socket using `fwrite` but does not explicitly call `fflush`, the buffered data may never be sent. This occurs because destructors for global variables a

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

new_socketFunction · 0.85
send_fds_via_socketFunction · 0.85
sock_dgramFunction · 0.85
ssl_stream_socket_clientFunction · 0.85
udp_stream_socket_clientFunction · 0.85
connect_to_addressFunction · 0.85
rpc_sock_connect_unixFunction · 0.85
rpc_sock_connect_inetFunction · 0.85
create_socketMethod · 0.85

Calls 2

spawnMethod · 0.80
getFunction · 0.50

Tested by

no test coverage detected