To Lan or not to LAN that's the question:

I just want to know how to estabilish a connection to another computer on a lan using sockets. Thank you
RaisehellAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RaisehellAuthor Commented:
On a computer with two kind of connections, one for internet and one for lan, when I try to create a connection to another computer on lan immediatly starts the remote access mask for internet connection, and I can't estabilish the connection I need.
0
bryan7Commented:
look in the demos/internet folder of delphi3/4
there is a chat demo which works on LAN and internet also
0
MadshiCommented:
Or look here for some really good free winSock components (with full sources and demos):

http://www.rtfm.be/fpiette/indexuk.htm

Regards, Madshi.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

ckanetaCommented:
TClientSocket
TServerSocket
works for me
0
bryan7Commented:
those components are not very good.. fpiette's pack is the best option for delphi. I have experienced with both, and I got better results with fpiette, f.e. to connect with delphi standard comps. it takes a few seconds.. with fpiette's it's instantaneous.
0
chengjianCommented:
1.you can uncheck 'auto-dial' option.
or
2.you should adjust your network configuration. specify a wins/dns server or use a hosts/lmhosts file instead of using a direct broadcast to find a computer.
it's not the matter of delphi.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.