確かに！IPアドレス、ポート、クライアントが接続したときにサーバーからクライアントに送信されるメッセージを指定して、修正したサーバーとクライアントのコードです。

サーバー

```python
import socket

server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

host = '190.168.1.10'
port = 54321
server_socket.bind((host, port))

server_socket.listen(1)
print("Server is waiting...")

client_socket, addr = server_socket.accept()
print(f"Client connected from {addr}")

message = "Hello from the server!"
client_socket.send(message.encode())

client_socket.close()
server_socket.close()
```

クライアント
```python
import socket

client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

host = '190.168.1.10'
port = 54321
client_socket.connect((host, port))
print("Connected to server!")

received_message = client_socket.recv(1024).decode()
print(f"Message from server: {received_message}")

client_socket.close()
```

最初にサーバー・スクリプトを実行し、次にクライアント・スクリプトを実行することを忘れないでください。サーバーは "Hello from the server!"というメッセージをクライアントに送信し、クライアントはそれを受信して印刷します。
Certainly! Here's the modified server and client code with the specified IP address, port, and a message sent from the server to the client when the client connects.

Server:

```python
import socket

server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

host = '190.168.1.10'
port = 54321
server_socket.bind((host, port))

server_socket.listen(1)
print("Server is waiting...")

client_socket, addr = server_socket.accept()
print(f"Client connected from {addr}")

message = "Hello from the server!"
client_socket.send(message.encode())

client_socket.close()
server_socket.close()
```

Client: 
```python
import socket

client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

host = '190.168.1.10'
port = 54321
client_socket.connect((host, port))
print("Connected to server!")

received_message = client_socket.recv(1024).decode()
print(f"Message from server: {received_message}")

client_socket.close()
```

Remember to run the server script first, then run the client script. The server will send the message "Hello from the server!" to the client, which the client will then receive and print.