Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🇹🇷 Türkçe Açıklama Bu proje, Python'un socket kütüphanesini kullanarak temel bir TCP İstemci-Sunucu iletişiminin nasıl kurulacağını göstermektedir. Proje, siber güvenlik temellerini ve ağ protokollerini anlamak için iyi bir başlangıç noktasıdır.

Özellikler TCP/IP Bağlantısı: Güvenilir veri transferi için TCP protokolü kullanılmıştır.

Veri Dönüşümü: Karakter dizileri (strings) encode() ile baytlara çevrilip gönderilir ve decode() ile tekrar okunabilir hale getirilir.

Sürekli İletişim: İstemci tarafında "quit" komutu girilene kadar iletişim devam eder.

Nasıl Çalıştırılır? Önce sunucuyu başlatın: python server.py

Ardından istemciyi başlatın: python client.py

İstemci ekranına mesajınızı yazın.

Us This project demonstrates how to establish a basic TCP Client-Server communication using Python's socket library. It serves as a fundamental starting point for understanding network protocols and cybersecurity basics.

Features TCP/IP Connection: Utilizes the TCP protocol for reliable data transfer.

Data Handling: Strings are converted to bytes using encode() for transmission and decode() back to strings upon receipt.

Persistent Loop: Communication remains active until the "quit" command is entered by the client.

How to Run? Start the server first: python server.py

Then, start the client: python client.py

Type your message in the client terminal.

🛠️ Teknik Detaylar / Technical Details Host: 127.0.0.1 (Localhost)

Port: 10001

Buffer Size: 1024 bytes

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages