



"""simple docstring"""







import socket



def 	__UpperCAmelCase (       )				-> List[str]:
		lowercase__  :       Optional[int]												=     socket.socket(socket.AF_INET		,	socket.SOCK_STREAM      )
		lowercase__  :       List[str]												=     socket.gethostname()
		lowercase__  :       Optional[int]												=     1_23_12

		sock.connect((host, port)      )
		sock.send(b'''Hello server!'''      )

		with open('''Received_file'''		,	'''wb'''      ) as out_file:
				print('''File opened'''      )
				print('''Receiving data...'''      )
				while True:
						lowercase__  :       int												=     sock.recv(10_24      )
						if not data:
								break
						out_file.write(__lowerCamelCase      )

		print('''Successfully received the file'''      )
		sock.close()
		print('''Connection closed'''      )


if __name__ == "__main__":
							main()







from __future__ import annotations

import numpy as np





def  __magic_name__  (				lowercase				)				-> Tuple:

							"""simple docstring"""



							return np.maximum(0				,       lowercase				)


if __name__ == "__main__":
							print(np.array(relu([-1, 0, 5])))  # --> [0, 0, 5]