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!

Connect to net server

Status
Not open for further replies.

cyprus106

Programmer
Apr 30, 2001
654
I need a code example of how to connect to a net server through my home computer. I can't find antything anywhere to help me out with this... I know how to connect to a server on a network, but to connect to a server online, I'm totally clueless. I desperately need help, and I seriously have no idea on where to start. Any suggestions?? Cyprus
 
Check FAQ101-993 "How to create a Client SOcket
hnd
hasso55@yahoo.com

 
uuh, it is my understanding that using the client socket, you can connect to a server through a network, but can you connect to a server without a network, from a home PC?
Say the person that wants to connect is sitting at home with his 56k dialup modem and that's his only connection to the outside world via his computer. He wants to use this program I'm making to logon to a server on the internet, say 'server.mysite.com', and go from there. can I do that with winsock? As far as I know, the winsock is dependent on a network connection... is that true? or have I been mislead? Cyprus
 
The Winsock.DLL is realizing a TCP/IP Connection and that is whats going in the internet. TCP/IP is not bound to ethernet. It may even work on a two-Wire cable. If you connect to your ISP it works usually with TCP/IP based on PPP or SLIP. But the TCP/IP is the important fact.

The only thing you have to know is the IP Adress of the Server.
hnd
hasso55@yahoo.com

 
alright! great! thats what i wanted to know. Then I'm guessing the link to utilizing the winsock.dll example will work for a TCP/IP connection? Thanks. Cyprus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top