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?
 
chengjianConnect With a Mentor Commented:
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
 
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
[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.

 
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
 
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
All Courses

From novice to tech pro — start learning today.