Patriarch Shi Tan's voice pulled him back from his thoughts.

Ning Mo raised his head, his face still bearing the unique calmness and confusion of an amnesiac youth: " Patriarch Uncle? "

Patriarch Shi Tan stared at him for a moment, and seeing him show little reaction, a trace of worry in his heart melted away.

A cousin separated by seven generations.

A name that could only be found by searching through the entire clan genealogy.

A distant branch guarding Luoxia Workshop with an only son, ignored by everyone and receiving no care.

On the night the Earth Dragon Clan breached the city, of this father and son, one fought to the death and the other awakened in the jaws of death.

Had it not been for the Golden Pupils, not a single other person in the clan would have cared whether Shi Yu and his son lived or died.

" Your father, Shi Yu, is a loyal martyr of our Three-Eyed Clan. " Patriarch Shi Tan stood up and said word by word: " Pass down the order to restore Shi Yu to the main branch, enter him into the royal ancestral temple, and enshrine his spirit tablet before the Goddess statue. Provide generous compensation, and if any survivors remain from the Luoxia Workshop lineage, they shall all be settled by the clan. "

" Understood! " Luo Jian bowed to receive the order, holding the clan register and backing out of the hall.

Patriarch Shi Tan turned to Ning Mo, his tone softening with a cautiousness even he himself did not notice.

" Shi Yuan, from now on, you will be recorded in the main family genealogy as Patriarch Shi Tan's nephew. Your father's matter... is the clan failing you father and son. "

Ning Mo fell silent for a moment.

Logically speaking, he shouldn't have felt a shred of emotion toward this " father " he had never met.

He hadn't even obtained the memories of this body, so to him, Shi Yu was just a strange name.

Yet for some reason, when thinking of the words " he led a dozen or so people to cover the rear ", a tightness still clogged his heart.

He thought of someone else.

Three years ago, there was also a man like this.

Knowing full well what the outbreak of the Dungeon meant, he still went against the fleeing crowd and charged straight in, his life or death unknown.

Ning Mo lowered his eyes, his voice becoming much lower.

" I want to go before my father's spirit tablet and offer a stick of incense. "

This sentence was half an act.

And half was true.

Patriarch Shi Tan's eyes turned red as he nodded heavily: " It is only right. Once the spirit tablet is set up, I will personally accompany you over. "

" As for your residence—— " He thought about it and added, " The Chenxi Courtyard on the east side of the sanctuary has always been vacant, and its gathering array is fully equipped.

You will stay there first.

That courtyard was originally prepared by the clan for the main lineage's direct descendants and distinguished guests. Since you are the Child of Prophecy, no one will object to you moving in. "

Naturally, Ning Mo wouldn't stand on ceremony.

Just as the two were about to leave the hall, a commotion suddenly came from outside.

" Young Patriarch! Your injuries—— "

" Let me go! Master Wu, please let go! I just want to take a look, just a look! "

A weak yet stubborn voice approached from afar.

Patriarch Shi Tan furrowed his brows: " Shi Kan? "

At the hall entrance, Shi Kan leaned on a silver spear and shuffled in, supported by two silver-armored soldiers.

His face was as pale as paper, and blood was still seeping through the bandages on his chest, but his eyes were frighteningly bright as he looked past Patriarch Shi Tan straight toward the center of Ning Mo's brow.

" It really is the Golden Pupils... " The youth grinned, a smile that even bloodstains couldn't hide.

He struggled to bow in salute, but Ning Mo stepped forward and supported him.

" I grew up listening to the legends of the Golden Pupils, and I also fantasized about awakening the Golden Pupils myself, but unfortunately, I am not. "

Shi Kan panted, his voice not loud, but every word carried weight, " But even so, I am still very happy today.

Thank you!

You saved Shenyan City, and you saved me.

I, Shi Kan, will remember this favor.

From now on, I, Shi Kan, am willing to become the sword in your hand to clear away all obstacles for you. "

" There is no need for that, I was just killing the enemy. "

Ning Mo supported him with a calm tone, " Heal your injuries first. "

Shi Kan was stunned, then chuckled: " Alright! "

" Alright my foot! "

A white-bearded elder chased panting into the hall, grabbed him by the back collar, his hair standing on end with rage, " Your internal organs are ruptured and you are still jumping around! Believe it or not, this old man will soak you in a medicinal vat! "

" Master Wu, easy, easy—— "

The hall was in complete chaos.

Patriarch Shi Tan waved his hand impatiently, ordered people to carry his son away, and then summoned a maid.

" Luowei, take Young Master Shi Yuan to the Chenxi Courtyard and serve him well. "

A young girl in green stepped forward, the vertical pupil at the center of her brow glowing with a faint silver light, bowing respectfully: " Young master, please follow me. "

Meanwhile, three hundred miles away.

Black Rock Mountains, Earth Dragon Clan, Jinlin City.

When the routed soldiers of the vanguard camp entered the city, dusk was just falling.

When the royal court hall received the news, there was first a dead silence inside the hall.

" Say that again. "

Upon the throne, Grand Monarch Man Huan leaned forward slowly, the shadow cast by his three-meter-tall body enveloping the kneeling routed soldiers across the floor.

His voice was calm, terrifyingly calm.

" Say it again. "

" Gr-Grand Monarch... " The routed soldiers trembled like chaff in the wind, " General... General Man Chi is dead.

That youth used only a single blade to kill him.

Out of the 1,200 men in the vanguard camp, 700 died, 200 were captured, and fewer than 300 fled back... "

" Those who falsely report military intelligence— —die. "

Man Huan said word by word, and the temperature in the hall plummeted abruptly.

Impossible.

These four words were the shared voice of all the high-ranking Earth Dragon Clan members in the hall at this moment.

Who was Man Chi?

The most dazzling young military general of the Earth Dragon Clan in a century, a Tier 5 powerhouse. Before this battle, he even made a pledge that within a month he would force the Three-Eyed Clan to offer the hourglass of time and sign a slave clan contract.

The Three-Eyed Clan had long since fallen into decline, and the entire clan only had two Tier 5 powerhouses.

Man Chi's combat power had already reached the peak of Tier 5.

Even if Patriarch Shi Tan and Shijing joined forces, they would definitely not be Man Chi's match.

How could such a major general die?

Dying in Shenyan City?

" Grand Monarch... " An old minister walked in from the side of the hall, his voice dry, " The routed soldiers and scouts from three routes all reported the exact same thing.

The vanguard camp's banners have been lost, the outer camp outside Shenyan City was assaulted by the entire Three-Eyed Clan with corpses covering the fields...

The general's head is hanging right above the city gates of Shenyan City. "

Boom!

Man Huan abruptly stood up, and beneath his scaly claws, the armrests of the throne shattered inch by inch.

" The Three-Eyed Clan?! "

" Just relying on their feeble Silver Scale Army?! "

" They were not killed by the Silver Scale Army. "

An insidious voice sounded.

High Priest Li Kan walked slowly out of the shadows.

The withered and thin old lizardman had a bone ring covering his single eye, and his voice was low and cold, as if steeped in poison.

" The one who killed Man Chi is a Three-Eyed Clan youth who awakened the Golden Pupils. "

" Golden Pupils? "

As soon as these two words came out, the generals in the hall all paused simultaneously.

Even as furious as Man Huan, his pupils abruptly shrank into a thin line.

" Does the Grand Monarch know why, after the Divine War, the volume on the Three-Eyed Clan in our clan's classics was personally ordered by successive Grand Monarchs to be copied a thousand times and passed down to all tribes? "

Li Kan's voice dropped even lower, " It is not just because they are the Goddess's attendant clan and are extremely close to our clan— "

" It is because of a legend. "

" Throughout Yuanxing, any race that left behind classics from the era of the Divine War knows the First Saint under Her Grace, the Goddess of Dawn's Radiance, the Golden-Eyed Holy King.

During the Divine War, this figure's name resounded throughout Yuanxing. "】}ттяйЙЙ】()} sockaddr = socket.socket(socket.AF_INET, socket.SOCK_STREAM) socket.create_connection((ip, port)) socket.bind(...) socket.listen(...) ```</p> <p>existLinux In the world,This is a universal key to the online world.。Today we're going to talk about,It is based onPython of<strong>Socket programming</strong>。</p> <hr /> <h2>1. What isSocket?</h2> <p><strong>Socket(socket)</strong>It is an abstract endpoint provided by the operating system for applications to perform network communication.。In short,It's like a computer in the network world."House number"Plus"Express delivery window"。</p> <p>CommonSocket There are two types:</p> <ul> <li><strong>Streaming sockets(SOCK_STREAM)</strong>:based on TCP protocol,Connection-oriented,Safe and reliable(Like making a phone call)。</li> <li><strong>Datagram socket(SOCK_DGRAM)</strong>:based on UDP protocol,No connection,Fast delivery, but delivery is not guaranteed.(Just like sending a text message/broadcast)。</li> </ul> <hr /> <h2>2. The simplestTCP Client/Server Model</h2> <p>We start with a classic"echo(Echo)"Server started:What does the client send?,The server simply returns the same thing exactly.。</p> <h3>2.1 Server-side code (server.py)</h3> <pre><code class=

language_name

python

code

import socket

# 1. create socket object

# AF_INET express IPv4,SOCK_STREAM express TCP protocol

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

# 2. Binding IP Address and port

# '' Represents binding to all available local machines. IP

host = '127.0.0.1'

port = 8888

server_socket.bind((host, port))

# 3. Start listening,parameter 5 Indicates the maximum number of pending connections.

server_socket.listen(5)

print(f"【*】 The server has been started.,Listening {host}:{port}...")

while True:

# 4. Accept client connections

# accept() It will block,Until a client connects,Return to a new socket and client address

client_socket, client_address = server_socket.accept()

print(f"【+】 Received from {client_address} connection")

try:

while True:

# 5. Receive data(Buffer size is 1024 byte)

data = client_socket.recv(1024)

if not data:

# No data received,This indicates that the client has disconnected.

break

print(f"【-】 Received message: {data.decode('utf-8')}")

# 6. Send back to the client as is

client_socket.sendall(data)

except Exception as e:

print(f"【!】 An error occurred: {e}")

finally:

# 7. Close connection

client_socket.close()

client_code

import socket

# 1. Create a client socket

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

# 2. Connect to server

host = '127.0.0.1'

port = 8888

client_socket.connect((host, port))

print("【*】 Successfully connected to the server")

try:

while True:

# 3. Get user input and send

message = input("Please enter the message you want to send. (enter 'q' quit): ")

if message == 'q':

break

client_socket.sendall(message.encode('utf-8'))

# 4. Receive server response

data = client_socket.recv(1024)

print(f"【<】 The server returned...: {data.decode('utf-8')}")

finally:

# 5. Close client

client_socket.close()

print("【*】 Connection closed")

summary

### Socket Summary of Programming Essentials

1. **TCP Core process**:

- **server**:`socket()` -> `bind()` -> `listen()` -> `accept()` -> `recv()/send()` -> `close()`

- **Client**:`socket()` -> `connect()` -> `send()/recv()` -> `close()`

2. **Byte stream transmission**:The essence of network transmission is**byte stream**(`bytes`),Therefore, it is necessary to use before sending. `.encode('utf-8')` transcoding,Use after receiving `.decode('utf-8')` decoding。

3. **Blocking mechanism**:`accept()`、`recv()` and `connect()` The default is**block**of,The program will stop there and wait.,Until the event occurred。