Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi everybody !
I'm developing window from application and WCF
1. My application(window form) is running in a computer that have two network adapters(local network adapter and 3G adapter). we can be to connect to the internet.
2. I have a WCF on the internet.

My application gets two network adapters and show it to end user(both can be to connect to the internet)

my problem is:

I don't know how when the end user choose the 3G network adapter then the my application gets data from WCF. when the end user choose the Local network then the my application gets data from WCF.

I have to attempt using the Socket or TCP/IP Client but I can't done.

Can you help me in this case ?

Many Thank You !
Posted
Updated 7-Jul-15 20:41pm
v3
Comments
Herman<T>.Instance 8-Jul-15 10:28am    
Google search keywords: WEBAPI C# .net.
Result: 1,240,000 hits in 0.43 second. Good luck
johannesnestler 9-Jul-15 8:04am    
I don't understand your problem. Why do you have to think about network adapters? It's WCF - Configure your endpoints - done... You said that with either Connection (LAN or 3G) you can get data from your Service - that's what I would expect too. I could understand that there is a "Problem" if you dont't get data in one case. But your service communication works in both cases?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900