Hi all,

I'm writing an TCP server using synapse and I want that the application runs as a console application to be comptible with linux and windows systems.

I did the graphical applicatio using lazarus and running on windows, but I don't know how to make a console application.

I'm doing like bellow:
- I created the new project (project menu-New project-Program);
- I put the code to create the TCP Sockects as I made on the graphical application;
- I put on the initiallization section the code to create the socket;

But when I ran the project1.exe on a windows machine the program start and close on next... the program don't be running and listening on the specific tcp port informed by me.

Can anyone help me with this?

Thanks in advanced,

Fabrício F. Kammer

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to