Windows and Linux c++ networking tutorial

This is a discussion on Windows and Linux c++ networking tutorial within the C++ Programming forums, part of the General Programming Boards category; Hi guys, Does anybody know where I can find a simple Linux socket tutorial? I've been having a look at ...

  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
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,505
    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.
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    6,530
    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 in reply to you, it is likely you deserve it. Suck it up, sunshine, 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, 09:39 AM
  2. Strange Linux Networking issue:
    By Kennedy in forum Tech Board
    Replies: 2
    Last Post: 07-24-2010, 04: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, 10:10 AM

Tags for this Thread


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