Thread: I need an example of some socket code

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    1

    I need an example of some socket code

    Hey I'm trying to learn this socket stuff but it just won't sink in.

    I was wondering if anyone knew of where I could find an example of a socket code that does something simple like allowing someone to telnet to your computer on a certain port and then displays a message. Preferably this will be a snippet designed for a *nix system but I do have a windows compiler (The free one from Borland).

    If you know of anything contact me on AIM (Leifdawg) or reply to this thread.

    Thanks
    -Leif

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Beej to the rescue. Two seconds and a search engine would have been faster than posting here.

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help understanding a code
    By lolguy in forum Networking/Device Communication
    Replies: 2
    Last Post: 03-15-2009, 04:13 PM
  2. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  3. Socket Programming Introduction Source Code
    By Lynux-Penguin in forum Linux Programming
    Replies: 2
    Last Post: 04-30-2002, 05:29 PM
  4. Replies: 4
    Last Post: 01-16-2002, 12:04 AM
  5. Code for Client/Server Socket
    By Unregistered in forum C++ Programming
    Replies: 4
    Last Post: 01-15-2002, 09:30 AM