Building a Port Scanner CLI Tool in Go
Learn to implement efficient network port scanning functionality in Go command-line applications using concurrency and timeout handling.
-
💬
ผู้สอน AI
ถามเกี่ยวกับบทเรียนใดก็ได้ แล้วรับคำตอบที่ชัดเจนทันที ทุกเมื่อ -
🕐
เริ่มเมื่อไรก็ได้
ไม่มีตารางหรือเดดไลน์ — เรียนตามจังหวะของคุณ เมื่อไรก็ได้ -
🌐
เป็นภาษาไทย
บทเรียน แบบฝึกหัด และใบรับรอง — ทั้งหมดเป็นภาษาของคุณอย่างครบถ้วน
เกี่ยวกับคอร์สนี้
Command-line tools are the backbone of network administration and security testing, and building your own port scanner is a fundamental step in mastering network programming. This text-based course guides you through the process of writing a fast, reliable port scanning CLI application using Go. You will transition from understanding basic networking concepts to writing a fully functional command-line utility. By exploring Go's powerful concurrency primitives and network packages, you will learn how to probe network ports safely, manage timeouts, and structure your CLI for optimal performance and readability.
What you'll learn:
- Understand foundational network concepts, TCP handshakes, and port states
- Implement robust network timeout handling using Go's standard net package
- Build a concurrent port scanner utilizing goroutines and channels for high-speed scanning
- Create custom Go types and command-line flags to handle user inputs cleanly
- Apply modern Go concurrency patterns, including Context for graceful cancellation
- Practice structured error handling and format scanning results for CLI output
The course begins with essential networking terminology and basic TCP connections before guiding you step-by-step through writing, optimizing, and testing your CLI tool. You will read clear explanations, analyze practical code snippets, and complete written exercises to solidify your understanding. This course is designed for beginner Go developers, system administrators, and aspiring security enthusiasts who want to learn network programming. No prior network scanning experience is required, though a basic familiarity with Go syntax is helpful. Start building your own network tools and master Go CLI development today.
สิ่งที่คุณจะได้รับ
-
📜
ใบประกาศนียบัตร
เพิ่มในโปรไฟล์ LinkedIn ของคุณ -
💬
ติวเตอร์ AI ส่วนตัว
ติดขัดในบทเรียน? ถามติวเตอร์ในตัวของคุณได้ทุกอย่าง ทุกเวลา -
🎧
รวมเวอร์ชันเสียง
เรียนได้ทุกที่ ไม่ต้องดูจอ -
♾️
เข้าถึงตลอดชีพ
กลับมาเรียนได้ตลอด ไม่มีหมดอายุ -
📱
โทรศัพท์หรือคอมพิวเตอร์
ใช้งานได้ทุกที่ ทุกอุปกรณ์ -
💸
คืนเงิน 14 วัน
ไม่ต้องอธิบาย -
⚡
กระชับและตรงประเด็น
2 ชม. 36 นาที เนื้อหาเชิงปฏิบัติ
รีวิว
ยังไม่มีรีวิว — เป็นคนแรกที่แชร์ประสบการณ์
ผู้เรียนคนอื่นเรียน
🌟 ที่นิยมในหมู่ผู้เรียน
🎓 มีใบรับรอง
พื้นฐานของเครือข่ายคลาวด์
ใบรับรอง
ลงมือทำ
45 €
→
⚡ เหมาะสำหรับผู้เริ่มต้น
🎓 มีใบรับรอง
Network Engineer Foundations: Routing, Switching, and Modern Automation
ใบรับรอง
ลงมือทำ
45 €
→
🔥 เป็นที่ต้องการ
🎓 มีใบรับรอง
พื้นฐานเครือข่ายและคลาวด์คอมพิวติ้งสำหรับความปลอดภัยทางไซเบอร์
ใบรับรอง
ลงมือทำ
45 €
→
⚡ เหมาะสำหรับผู้เริ่มต้น
🎓 มีใบรับรอง
พื้นฐาน Industrial IoT: ตลาด เครือข่าย และความปลอดภัย
ใบรับรอง
ลงมือทำ
45 €
→
คำถามที่พบบ่อย
ฉันต้องใช้อะไรในการเรียนคอร์สนี้? +
แค่โทรศัพท์หรือคอมพิวเตอร์ที่มีอินเทอร์เน็ต ไม่ต้องติดตั้งหรือใช้อุปกรณ์พิเศษ
ฉันชำระเงินอย่างไร? +
ผ่านบัตรด้วย Stripe เราไม่เก็บข้อมูลบัตร — Stripe จัดการอย่างปลอดภัย
ฉันขอคืนเงินได้ไหม? +
ใช่ — คืนเงินเต็มจำนวนใน 14 วัน ไม่ต้องอธิบาย
ฉันมีสิทธิ์เข้าถึงนานเท่าไร? +
ตลอดไป เมื่อซื้อแล้วคอร์สเป็นของคุณ กลับมาเรียนได้ตลอด
ฉันจะได้ใบประกาศนียบัตรไหม? +
ได้ เมื่อเรียนจบจะได้รับใบประกาศนียบัตรที่เพิ่มในโปรไฟล์ LinkedIn ได้
ออกแบบสำหรับผู้เรียนใน
เทคโนโลยี
ดีไซน์
การเงิน
การตลาด
สาธารณสุข
การศึกษา
ธุรกิจการบริการ
อุตสาหกรรม
×2
เติมครั้งเดียว จ่ายครึ่งเดียว
เพิ่ม 90 € → รับเครดิต 200 เครดิต ทำให้แต่ละหลักสูตรมีราคาประมาณ 11,25 € เครดิตไม่มีวันหมดอายุ
90 €
200 เครดิต
11,25 € / คอร์ส
คุ้มที่สุด
230 €
550 เครดิต
10,45 € / คอร์ส
460 €
1200 เครดิต
9,58 € / คอร์ส
เครดิตใช้ได้กับทุกคอร์สและไม่หมดอายุ