Creating an Endpoint
This method initializes a new endpoint and binds it to a local address, allowing it to listen for incoming connections.bindcreates the endpoint and starts listening for incoming connectionsawaitkeyword is used to wait for the endpoint to be created in an asynchronous context.