Unix Programming - Pointers on writing a messaging proxy in C

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > December 2004 > Pointers on writing a messaging proxy in C





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Pointers on writing a messaging proxy in C
Yan

2004-12-29, 2:48 am

I want to begin a project to write a proxy for instant messaging
protocols in C and make it posix compliant. I originally wanted to write
the proxy for one protocol, but not im thinking if i was to write one i
want to make it modular to handle a few. The platform of development
will be FreeBSD, but that's really neither here nor there. My question
is as follows:

- What packages/language features can I use to add this modularity?
- Make each protocol a dynamically linked library? (preferred i guess)
use libtool?
- What is the preferred (proper) way to parse data, exctract protocol
information (maybe assign each session a protocol based on
port/initialization packets) and then pass each packet to a handler?
Basically, how do i properly interface with each protocol handler?


Ive been a UNIX user for a few years, and a C rookie for a few as well,
and want to actually write something to progress my knowledge and gain
experience. Any help would be appreciated.

thanks in advance
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com