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
Who is Participating?
chengjianConnect With a Mentor Commented: can uncheck 'auto-dial' option.
or 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.
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.
look in the demos/internet folder of delphi3/4
there is a chat demo which works on LAN and internet also
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Or look here for some really good free winSock components (with full sources and demos):

Regards, Madshi.
works for me
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.
All Courses

From novice to tech pro — start learning today.