It's what I like to call a pass through server. My ISP won't let me send email unless I'm on their network (at home). So, I have a server I wrote in VB that listens for a connection on a non standard port. When connected, it connects to my ISP's SMTP server. Anything it gets from the email client, it passes to the server. Anything it gets from the server it passes to the email client. Works like a charm. Only problem is that it's in Windows. I'm working towards getting rid of that windows box and replacing it with linux. So, I need to re-write this app in Linux. It's really the event part of it that I'm concerned with.

Leonardo M. Ramé wrote:
Are you trying to create a Peer-To-Peer architecture?, something like Windows 
Messenger?.

I don't know how to implement that type of architecture, you can do a simple 
google search to find
examples, but since it uses socket communications you can implement it using 
lNet or Synapse
libraries with FreePascal.

Leonardo M. Ramé
http://leonardorame.blogspot.com

--- Rick Seiden <[EMAIL PROTECTED]> wrote:

Any tutorials out there on using Event Driven programming with Free Pascal?

I'm hoping to create a server/client combo that will need to respond to both input from the client part, and input from the server part

           my server/client combo app
          +--------------------------+
User ---> | server part-->client part| --> another server
          +--------------------------+

So, when my user talks to my server, I need to be able to respond, and when the other server talks to my client, I need to be able to respond.

Anyway, just a simple event driven programming tutorial using some version of Pascal will probably help.

Thanks




____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal




--

If you never have the courage to lose sight of the shore,
You'll never know the utter terror of being forever lost at sea


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to