Forum     

Go Back   Digit Technology Discussion Forum > Internet and Networking > Networking
Register FAQ Calendar Mark Forums Read

Networking Setting up network connections, issues related to hardware, buying advice related to routers, modems etc. should be posted here.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 29-01-2005, 11:39 AM   #1 (permalink)
Apprentice
 
Join Date: Jan 2005
Posts: 70
Default best language for sockets programming!!


hey guyz can anyone tell me which is the best language for sockets programming?? and how many of u are doing some work in sockets programming?? i wanna do it in C++ but dont have header files like->-> netdb.h,sockets.h etc etc from where i can get those??
Ashootosh is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 29-01-2005, 01:14 PM   #2 (permalink)
In The Zone
 
tuXian's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 364
Default

personally I prefer C to C++ as all the intricacies of Object orientation are gone(may be at a expense). But its a lot easir in C.

The best thing is to use linux. If u have got a Live CD then need not install linux too.

Happy Socket programming.
__________________
You know it's love when you memorize her IP to skip DNS overhead.
tuXian is offline  
Old 31-01-2005, 02:55 PM   #3 (permalink)
Apprentice
 
Join Date: Jan 2005
Posts: 70
Default

r u using knoppix? and does ur live CD contains the header files necessary for sockets programming? i know c/c++ are the best but from where can i have knowledge about sockets programming in them??
Ashootosh is offline  
Old 31-01-2005, 02:58 PM   #4 (permalink)
Apprentice
 
Join Date: Jan 2005
Location: Faridabad
Posts: 66
Default

The WinSock (Windows Sockets) API is a socket programming library for Microsoft Windows Operating Systems.

It was originally based on Berkeley sockets. But several Microsoft specific changes were employed.

for Socket programming in C++ you need to include the following files

Code:
#include <winsock2.h> 

Add a refrence to winsock library
Take Project-Settings-Link and add ws2_32.lib to the library modules list. 

I am talking about VC++
for detailed info visit http://www.codeproject.com/internet/
__________________
Sudhir Mangla
http://DevelopersVoice.com
(VC++ FAQ, MFC FAQ, C++ FAQ)
http://Programmerworld.net
(Free books and source code)
sudhir_mangla is offline  
Old 02-02-2005, 10:19 PM   #5 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default

Quote:
Originally Posted by tuxian
personally I prefer C to C++ as all the intricacies of Object orientation are gone(may be at a expense). But its a lot easir in C.
Writing socket programs is a lot easier in high level languages. Perl and Python are best suited for writing Socket scripts. You must use Perl to believe it...
GNUrag is offline  
Old 03-02-2005, 01:50 PM   #6 (permalink)
Apprentice
 
Join Date: Jan 2005
Posts: 70
Default

i have done some work in perl but i dont know how to make an exe in perl, the file which we get has extension .pl (now i dont know how to use this?). and also no one has answered the question->-> from where can i have header files like sockets.h etc. perl contains these files( will they work with c/c++)
Ashootosh is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by icebags
- by kool
- by Tenida

Advertisement




All times are GMT +5.5. The time now is 02:01 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2