[mdlug] C Library for network applications

David Lee Lambert as4109 at wayne.edu
Wed Feb 28 07:11:14 EST 2007


On Tuesday 27 February 2007 12:34 pm, Wojtak, Greg wrote:
> Does anyone have any experience using any of the network libraries
> available out there?  I am writing a small network based daemon and don¹t
> want to learn the intricacies of network programming in order to accomplish
> this otherwise small program.

If you're willing to work in C++ or Java,  there are really easy base-classes 
you can use or extend to create a simple TCP server.  In Qt 4 (C++),  use the 
QTcpSocket class:

http://doc.trolltech.com/4.2/qtcpsocket.html

In Qt 3 (more likely to be installed already on a Linux distribution),  use 
QSocket:

http://doc.trolltech.com/3.3/qsocket.html

In Java,  use java.net.ServerSocket:

http://java.sun.com/j2se/1.4.2/docs/api/java/net/ServerSocket.html

-- 
David Lee Lambert (recent WSU grad) <as4109 at wayne.edu>
Cell phone:  +1 586-873-8813
Work email:  dlambert at bmtcarhaul.com



More information about the mdlug mailing list