Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TServerSocket in Thread?

Status
Not open for further replies.

inetd

Technical User
Jan 23, 2002
115
HK
How can I use TServerSocket in my working thread?

I have created a TServerSocket in my thread and then set the properties and the event handler. However when a client try to connect to the server, there are nothing happen in the thread and no server socket event has been called.

Pls help.

Thanks.
 
Are you using a client and server on the same computer? If not, I would suggest doing so to reduce any firewall issues. You can use the ip address 127.0.0.1 for both the client and server in that case. If you know there are none, just pause your program and make sure your thread hasn't exited for some reason.

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top