Socket Programming codes

This is a discussion on Socket Programming codes within the C Programming forums, part of the General Programming Boards category; Hello, I need a C program to send and receive ICMP messages using a RAW Socket.Is there any one knows ...

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    1

    Socket Programming codes

    Hello,

    I need a C program to send and receive ICMP messages using a RAW Socket.Is there any one knows where I can find codes or informations about this topic?

    Also it can be a C program to send and receive emails using SMTP protocol.Where can I find informations about these topics?

    I will be very happy if u can help me...

  2. #2
    Senior Member joshdick's Avatar
    Join Date
    Nov 2002
    Location
    Phildelphia, PA
    Posts
    1,146
    There's a link to a tutorial on raw socket programming in this thread, Useful Links And Good Books, which is a sticky in the Networking/Device Communication Forum. There are many tutorials on socket programming in there.
    FAQ

    "The computer programmer is a creator of universes for which he alone is responsible. Universes of virtually unlimited complexity can be created in the form of computer programs." -- Joseph Weizenbaum.

    "If you cannot grok the overall structure of a program while taking a shower, you are not ready to code it." -- Richard Pattis.

  3. #3
    WDT
    WDT is offline
    Tha 1 Sick RAT
    Join Date
    Dec 2003
    Posts
    271
    Get this book by Jon Snader called Effective TCP/IP Programming: 44 Tips to Improve Your Network Programs It helps a great deal. Great deal.
    A hundred Elephants can knock down the walls of a fortress... One diseased rat can kill everyone inside

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Non-blocking socket connection problem
    By cbalu in forum Linux Programming
    Replies: 25
    Last Post: 06-03-2009, 02:15 AM
  2. socket programming question, closing sockets...
    By ursula in forum Networking/Device Communication
    Replies: 2
    Last Post: 05-31-2009, 05:17 PM
  3. when to close a socket
    By Wisefool in forum Networking/Device Communication
    Replies: 5
    Last Post: 11-02-2003, 09:33 AM
  4. problem closing socket
    By Wisefool in forum Networking/Device Communication
    Replies: 2
    Last Post: 10-29-2003, 11:19 AM
  5. socket newbie, losing a few chars from server to client
    By registering in forum Linux Programming
    Replies: 2
    Last Post: 06-07-2003, 11:48 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21