Sockets in c++

This is a discussion on Sockets in c++ within the Networking/Device Communication forums, part of the General Programming Boards category; I've used java loads and was able to use the inbuilt socket classes to do stuff such as connect to ...

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    145

    Sockets in c++

    I've used java loads and was able to use the inbuilt socket classes to do stuff such as connect to websites, how does one do this in C++?

    I can not find any standard c++ libraries to do it, do I have to download 3rd parties libraries?

  2. #2
    Massively Single Player AverageSoftware's Avatar
    Join Date
    May 2007
    Location
    Buffalo, NY
    Posts
    141
    Socket communication is dependent on your operating system. You'll need to either find some sort of generic socket wrapper library, or look up the details for your OS.
    There is no greater sign that a computing technology is worthless than the association of the word "solution" with it.

  3. #3
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,589
    Moved to Networking/Device Communication.

    You may find Beej's Guide to Network Programming to be a good read on the topic.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Best way to poll sockets?
    By 39ster in forum Networking/Device Communication
    Replies: 3
    Last Post: 07-22-2008, 01:43 PM
  2. Cross platform sockets
    By zacs7 in forum Networking/Device Communication
    Replies: 5
    Last Post: 06-27-2007, 05:16 AM
  3. multiple UDP sockets with select()
    By nkhambal in forum Networking/Device Communication
    Replies: 2
    Last Post: 01-17-2006, 06:36 PM
  4. Raw Sockets and SP2...
    By Devil Panther in forum Networking/Device Communication
    Replies: 11
    Last Post: 08-12-2005, 04:52 AM
  5. Starting window sockets
    By _Cl0wn_ in forum Windows Programming
    Replies: 2
    Last Post: 01-20-2003, 10:49 AM

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