Thread: Windows and Linux c++ networking tutorial

  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    22

    Windows and Linux c++ networking tutorial

    Hi guys,

    Does anybody know where I can find a simple Linux socket tutorial? I've been having a look at beejs tutorial i understand all concepts but as soon as he gets to the code, I start losing him. I think it's more c then c++.
    Is there an alternative targeted at beginners?

    Also,

    The app that I want to create will have client on Linux and server on windows so equally, I'll need to learn windows sockets. Any suggestions?

    Thanks in advance

  2. #2
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    I think it's more c then c++
    I think the API is in C in both the platforms.
    There are plenty of higher level cross platform implementations made with C++.
    I'm not very knowledgeable on the topic; so, I won't suggest a 'best' one.

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    Quote Originally Posted by Freem View Post
    Does anybody know where I can find a simple Linux socket tutorial? I've been having a look at beejs tutorial i understand all concepts but as soon as he gets to the code, I start losing him. I think it's more c then c++.
    Is there an alternative targeted at beginners?
    Beej's tutorial is geared for beginners, but it does assume you know basic C or C++.

    If you're having trouble, probably best to spend some time getting to know basic C or C++.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

  4. #4
    1337
    Join Date
    Jul 2008
    Posts
    135
    Beej's guide is not only for beginners. It is for beginners and intermediate network programmers.
    Windows socket and linux sockets are similar if you are using BSD sockets. A little bit of extra codes needed for windows, Beej's Guide to Network Programming
    You have to read a few times if you don't understand. You will eventually understand.

  5. #5
    Registered User
    Join Date
    Jul 2011
    Posts
    22
    I'll give beej's another go. I'm ok with c++, there are just a few things that trouble me. Thanks guys.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linux programmer needs C networking help...
    By JohnGraham in forum Windows Programming
    Replies: 5
    Last Post: 10-27-2010, 08:39 AM
  2. Strange Linux Networking issue:
    By Kennedy in forum Tech Board
    Replies: 2
    Last Post: 07-24-2010, 03:17 PM
  3. Windows xp and networking with other windows versions
    By Stoned_Coder in forum Tech Board
    Replies: 20
    Last Post: 12-19-2003, 03:36 PM
  4. Linux Networking
    By gnu-ehacks in forum Linux Programming
    Replies: 4
    Last Post: 01-01-2002, 02:52 AM
  5. Networking Windows 2000 and Windows Me
    By FCP in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 08-29-2001, 09:10 AM

Tags for this Thread