Results 1 to 3 of 3

Thread: ช่วยตอบทีนะค่ะ

  1. #1
    Junior Member
    Join Date
    Jul 2007
    Posts
    28


    ช่วยตอบนู๋ทีนะค่ะ
    ช่วยอธิบาย namespace System.Net.Sockets หน่อยนะค่ะ
    กับ AddressFamily.InterNetwork คือมานอ้างอิงตัวไหนเหรอค่ะหรือยังงัย(นู๋กะไม่รู้)





    ช่วยบอกหน่อยนะค่ะจะเปงพระคุณมากค่ะ













  2. #2
    Junior Member
    Join Date
    Jul 2007
    Posts
    28


    ใครรู้มั่งช่วยบอกทีนะค่ะ หือ หือ

  3. #3
    Junior Member
    Join Date
    Aug 2007
    Location
    Thailand
    Posts
    23


    อ้างอิงจาก MSDN นะครับ

    The System.Net.Sockets namespace provides a managed implementation of the Windows Sockets (Winsock) interface for developers who need to tightly control access to the network.

    สรุปแล้วคือ เป็น namespace สำหรับติดต่อกับ network ในระดับ TCP และ UDP(Layer ของ OSI Model)

    ส่วน AddressFamily.InterNetwork เป็น enum เพื่อกำหนดรูปแบบของ address ใน socket เป็นแบบ IPv4

    โดยความหมายของ socket จาก wikipedia ครับ
    An Internet socket (or commonly, a socket or network socket), is a communication end-point unique to a machine communicating on an Internet Protocol-based network, such as the Internet

    สรุปแล้วผมคิดว่าคุณกำลังเขียนโปรแกรมเกี่ยวกับ data communication ใช่ไมครับโดยส่ง data เข้าไปใน socket แล้วกำหนดรูปแบบของ address ของ socket นั้นเป็นแบบ IPv4

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •