I remember someone asking for a tcp library ... was it Phillip ?
Nyways, check this out
http://www.laurentconstantin.com/en/netw/netwib/
C
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now!
On Fri, 23 Jan 2004, linuxdev wrote:
I remember someone asking for a tcp library ... was it Phillip ?
No, it was Philip. With a single l.
Nyways, check this out
I've decided to stop development of my library anyway, since a socket library will soon make it into the standard C++ distribution.
Philip S Tellis writes:
On Fri, 23 Jan 2004, linuxdev wrote:
I remember someone asking for a tcp library ... was it Phillip ?
No, it was Philip. With a single l.
Nyways, check this out http://www.laurentconstantin.com/en/netw/netwib/
I've decided to stop development of my library anyway, since a socket library will soon make it into the standard C++ distribution.
When you are refering to the standard C++ distribtion, I believe you are refering to libstdc++ shipped with GCC. I did look here -> http://gcc.gnu.org/libstdc++/ but wasn't able get much info. also googling did not help much. can you mail me a pointer to the networking library/ location where u got this info??
Vinayak Hegde
On Fri, 23 Jan 2004, linuxdev wrote:
seems good, thanks.
Sorry for this stupid question, but I am wondering what extra functionality can these libraries provide that is not provided by that standard C library ?
Is it with an aim to simplify protocol usage for DNS, SMTP etc etc ?
Also, I did not understand the part in the original post that spoke about not using threads. Coming from a Java environment, I am used to doing blocked I/O on sockets in threads (not using the NIO packages), and using an event notification mechanism when data is received etc. Is that not an easier approach than using poll() or select() ??
Can someone please give me some insight into this ?
Thanks, and as mentioned earlier, sorry if this post sounds silly.
Shahed
On Fri, 23 Jan 2004, Shahed Moolji wrote:
Sorry for this stupid question, but I am wondering what extra functionality can these libraries provide that is not provided by that standard C library ?
It just provides an added layer of abstraction so the programmer can worry about doing his job rather than debugging socket calls.
Is it with an aim to simplify protocol usage for DNS, SMTP etc etc ?
yes, something like that.
Also, I did not understand the part in the original post that spoke about not using threads. Coming from a Java environment, I am used to doing blocked I/O on sockets in threads (not using the NIO packages), and using an event notification mechanism when data is received etc. Is that not an easier approach than using poll() or select() ??
Except this wouldn't work in a single threaded environment. Having multiple threads would also increase the weight of the process. Using select would not. Finally, threads throw up concurrency issues that add to the complexity of the program and allow subtle bugs to creep in. The programmer should really be doing his job rather than worrying about mutexs.
Also, there is no standard threading library in C (AFAIK). pthreads isn't really standard, although you'd find it wherever you find gcc.
I may be wrong, so correct me if you think so.
Philip