Page 1 of 1

Sockets What Language would you choose

Posted: 06 Apr 2006, 01:04
by maboroshi
(Assuming basic proficiency in both) What language would you prefer to write low level socket code in...

Options Are Python or C

and why

The reason why Im asking this I have a pretty strong knowledge of Python and enough proficiency in C and need assistance in what would be more efficient and have more control between the two

ty

Cheers Maboroshi

Re: Sockets What Language would you choose

Posted: 14 Apr 2006, 19:55
by FrankB
Maboroshi wrote:(Assuming basic proficiency in both) What language would you prefer to write low level socket code in...

Options Are Python or C

and why
Python is not low-level enough, it is pretty eccletic for sockets.
While C/C++ has standard, fully compliant IO (Input[mport]/Output) Socket handlers.
The plus : C++ sockets have neat useable namespace s :
#include <iostream>,<iostream>;<WinSock2.h>, etc..
and the general class "Socket"->SocketClient, SocketServer.
Plenty of toys to play with.

I don't think Python is that widely portable or i must be completely wrong or the language has seriously developed (i have not my Python knowledge up-to-date neither ;-)

HTH
--FrankB
n00b X