Thread: which programming language should be used for socket programming?

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

    Question which programming language should be used for socket programming?

    Would you mind telling me which programming language should be used for socket programming?
    and what exactly is socket programming?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    > Would you mind telling me which programming language should be used for socket programming?
    Any language which has a socket API can do socket programming
    Which you should use depends primarily on which languages you know, and then on the problem being solved.

    > and what exactly is socket programming?
    Perhaps you should read this
    http://cboard.cprogramming.com/showthread.php?t=41926
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    C/C++

    Kuphryn

  4. #4
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    any modern language that has no socket capability wouldn't be very useful now would it? I do some with C/C++ and some with Ada. I'm sure whatever you are comfortable with will have a socket library.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  5. #5
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    I recommend Java for sockets programming. Java has support for both sockets and threads within the language.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  6. #6
    'AlHamdulillah
    Join Date
    Feb 2003
    Posts
    790
    well, as salem said, it depends on the task at hand. If you are trying to make a CGI program that can connect to different servers, then PERL might suit you better than C, also it depends whether you have time constraints on the program.

  7. #7
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    Can we assume that since the OP hasn't been back since they posted it, that any more replies are a complete and utter waste of time?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  8. #8
    Registered User
    Join Date
    Jul 2002
    Posts
    47
    Java works ok and can interface with C++ sockets decently. Only downside is that Java is slow

  9. #9
    Registered User CompiledMonkey's Avatar
    Join Date
    Feb 2002
    Location
    Richmond, VA
    Posts
    438
    Quote Originally Posted by Salem
    Can we assume that since the OP hasn't been back since they posted it, that any more replies are a complete and utter waste of time?
    No, because maybe others will come behind and read this.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What language did they make Java in?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 07-03-2005, 04:18 PM
  2. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  3. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM
  4. Languages dying
    By Zewu in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 07-29-2003, 10:08 AM
  5. Language Script..
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 03-30-2003, 06:48 AM