|
-
Nov 20th, 2000, 07:17 AM
#1
Thread Starter
New Member
I have a Client/Server application that communicates using the winsock control to communicate. However I have a requirement to run the system locally ie. Client & Server on the same machine. This works perfectly on networked/internet enabled PC's but if the machine does not have an active Modem or Network card I get errors like:
Error Code 10050 - Network Subsystem Failed
Error Code 10047 - Address Family not Supported
These I think are caused because TCP/IP isn't installed or the process is not active.
Does anyone know if Sockets can work locally with no external connections ? Or can TCP/IP be set to look back on itself?
Thanks,
Zax
-
Nov 20th, 2000, 11:17 AM
#2
Well ...
I have used a client-server Winsock app on a single machine, but one of the machines I used had an internal modem, while the other had a network card.
Could this be of any help?
-
Nov 20th, 2000, 11:35 AM
#3
Fanatic Member
I assume you used the address 127.0.0.1
Kurt Simons
[I know I'm a hack but my clients don't!]
-
Nov 20th, 2000, 12:00 PM
#4
Thread Starter
New Member
I tried 127.0.0.1 and localhost but no luck.
-
Nov 20th, 2000, 12:42 PM
#5
Fanatic Member
Is TCP/IP installed?
Can you Ping 127.0.0.1
if so try to bind to a port on your computer and see if that causes an error (happened to me once)
Kurt Simons
[I know I'm a hack but my clients don't!]
-
Nov 20th, 2000, 12:55 PM
#6
Thread Starter
New Member
The trouble is there is no device (modem/network card) so TCP/IP isn't started.
I can install the TCP/IP protocol using a dummy device but it doesn't function and I get :
System Error &H8007001F ....
A device attached to the system is not functioning.
Do I need some sort of device to get TCP/IP running ?
Do I need a device to use the winsock control ?
-
Nov 20th, 2000, 01:19 PM
#7
Black Cat
I think if you would install the "Loopback Adapter" like when you just have a modem it would solve your problems. And you definately need the TCP/IP protocol installed.
Hope that helps,
Josh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|