List Info

Thread: Looking for a server socket




Looking for a server socket
user name
2006-07-28 16:33:59

All,

I am writing two program that communicate with each other via socket connections(clientsocket and serversocket)

I want to start then client first which can't see a server so will display a message
until the server starts.

I have a timer setup on the client program to look for a server
each second but I get the delphi error message('10061') each time it can't connect.

How can I stop this message from popping up?


---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
Looking for a server socket
user name
2006-07-28 16:58:37

Use a try except and supply your own response in the exept branch. exception E is the most general kind of error catch.. see help file for details.

Also have a look through the source code for that component and maybe you can borrow some of that code to obtain the behavior you want (I.E. when all else fails, read the service manual!)

Dave


Curtis cloud <curtiscldyahoo.com> wrote:
All,

I am writing two program that communicate with each other via socket connections(clientsocket and serversocket)

I want to start then client first which can't see a server so will display a message
until the server starts.

I have a timer setup on the client program to look for a server
each second but I get the delphi error message('10061') each time it can't connect.

How can I stop this message from popping up?

---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.

[Non-text portions of this message have been removed]


---------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )