Hi, I've been using delphi client and server sockets for years and have been pretty happy with the results. I'm writing my first service application, which has a server socket on it. When the service is run however, my client fails to connect. I used a program called active ports to see if my service program is listening, and sure enough, there it is, but with the wrong port number, which I can connect to. At this point, the only place where the port is defined is directly into the port setting in the service sockets component properties, so I'm a bit confused as to why the port is wrong when its running. The port number is different every time.
The server component is threaded, in case that has any baring, though I doubt it because its listening on the wring port before a connection is established. My OS is WinXP.
If anyone can help with this wierd issue, I would be very greatfull.
All the best,