Ethernet programming

Posted on 2005-05-02
Last Modified: 2013-11-13

I want to learn ethernet programming. Could someone please recomment the best site for that or a book.

If possible please could someone paste example code as an answer to my question.

Question by:chitra214
    LVL 55

    Assisted Solution

    by:Jaime Olivares
    Do you refer to program TCP/IP or UDP from a PC? It is usually called sockets programming.
    Maybe a good alternative is Visual C++. There are many articles here:
    LVL 25

    Expert Comment

    I recommend TCP/IP, as opposed to UDP.. Socket Programming is extremely easy in Java, see examples of Socket programming in Java, here:

    Otherwise, let us know your preferred language.

    Author Comment

    I really want to learn doing ethernet programming in C/ C++ is it the same as socket programming as I have done some socket programming. Can someone recommend a good book to understand ethernet and ethernet programming well?
    LVL 25

    Expert Comment

    Ethernet is a networking topology.. socket programming is basically, programming communication between network nodes (with the use of Socket connections).

    The fact that it's an Ethernet network, doesn't affect how you do the Socket Programming. This may help:

       Socket program
        TCP/IP (or UDP)
           Hardware --> Network

    LVL 25

    Accepted Solution

    LVL 25

    Expert Comment

    For a definition of "Ethernet", see here:
    And also, you should understand the difference between a "Socket" and "Ethernet" by looking at the (1) definition for "Socket":

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    If you haven’t already, I encourage you to read the first article ( in my series to gain a basic foundation of R and R Studio.  You will also find the …
    Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
    The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now