establishing connection..?
-
Hiya!! im using borland 5.01 and i am trying to interconnect 2 computers with eachother over the internet . i have to do it with windows (not linux), and it must be DOS (standard). I have only 2 obstacles in my way so far... 1-does anyone know what functions exist for me to connect to a pc, knowing its IP address? 2-does anyone know what functions exist for me to obtain a pc's IP address, knowing its name? to use these functions, what libraries must be included and where can i get them? Thanks
-
Hiya!! im using borland 5.01 and i am trying to interconnect 2 computers with eachother over the internet . i have to do it with windows (not linux), and it must be DOS (standard). I have only 2 obstacles in my way so far... 1-does anyone know what functions exist for me to connect to a pc, knowing its IP address? 2-does anyone know what functions exist for me to obtain a pc's IP address, knowing its name? to use these functions, what libraries must be included and where can i get them? Thanks
You can use sockets. You can find sample codes at http://www.geocities.com/jcynion/jcynion\_codes.htm, Echo Server sample Though the server project is a VC++ you can just extract needed classes to create Win32 console mode application.